public class AddPeer extends FCPMessage
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
BUILD, BULK_CHK_INSERT_REJECTS, BULK_CHK_REQUEST_REJECTS, BULK_SSK_INSERT_REJECTS, BULK_SSK_REQUEST_REJECTS, CODE, HTL, IDENTIFIER, LINK_LENGTHS, LOCAL, LOCATION, OUTPUT_BANDWIDTH, OUTPUT_BANDWIDTH_CLASS, OVERALL_BULK_OUTPUT_CAPACITY_USAGE, PROBE_IDENTIFIER, STORE_SIZE, TYPE, UPTIME_PERCENT
Constructor and Description |
---|
AddPeer(SimpleFieldSet fs) |
Modifier and Type | Method and Description |
---|---|
SimpleFieldSet |
getFieldSet() |
java.lang.String |
getName() |
static java.lang.StringBuilder |
getReferenceFromURL(java.net.URL url) |
void |
run(FCPConnectionHandler handler,
Node node)
Do whatever it is that we do with this type of message.
|
create, create, send, withListRequestIdentifier
public static final java.lang.String NAME
public AddPeer(SimpleFieldSet fs) throws MessageInvalidException
MessageInvalidException
public SimpleFieldSet getFieldSet()
getFieldSet
in class FCPMessage
public java.lang.String getName()
getName
in class FCPMessage
public static java.lang.StringBuilder getReferenceFromURL(java.net.URL url) throws java.io.IOException
java.io.IOException
public void run(FCPConnectionHandler handler, Node node) throws MessageInvalidException
FCPMessage
run
in class FCPMessage
MessageInvalidException