public class DisconnectMessage extends FCPMessage
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
The name of this message.
|
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 |
---|
DisconnectMessage(SimpleFieldSet simpleFieldSet)
Creates a new disconnect message.
|
Modifier and Type | Method and Description |
---|---|
SimpleFieldSet |
getFieldSet() |
java.lang.String |
getName() |
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 DisconnectMessage(SimpleFieldSet simpleFieldSet)
simpleFieldSet
- The field set to create the message frompublic SimpleFieldSet getFieldSet()
getFieldSet
in class FCPMessage
FCPMessage.getFieldSet()
public java.lang.String getName()
getName
in class FCPMessage
FCPMessage.getName()
public void run(FCPConnectionHandler handler, Node node) throws MessageInvalidException
run
in class FCPMessage
MessageInvalidException
FCPMessage.run(freenet.clients.fcp.FCPConnectionHandler,
freenet.node.Node)