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, withListRequestIdentifierpublic static final java.lang.String NAME
public AddPeer(SimpleFieldSet fs) throws MessageInvalidException
MessageInvalidExceptionpublic SimpleFieldSet getFieldSet()
getFieldSet in class FCPMessagepublic java.lang.String getName()
getName in class FCPMessagepublic static java.lang.StringBuilder getReferenceFromURL(java.net.URL url)
throws java.io.IOException
java.io.IOExceptionpublic void run(FCPConnectionHandler handler, Node node) throws MessageInvalidException
FCPMessagerun in class FCPMessageMessageInvalidException