public class FCPPluginClientMessage extends DataCarryingMessage
FCPPluginServerMessage which produces the on-network format of
server to client messages.FCPPluginMessage which serves as a container of FCP plugin
messages which are produced and consumed by the actual server and client plugin implementations.
Consider this class here as an internal representation of FCP plugin messages used solely
for parsing client-to-server messages, while the other one is the external representation used
for both server and client messages.
Also notice that interface FCPPluginConnection consumes only objects of type
FCPPluginMessage, not of this class here: As the external representation to both server
and client, it does not care whether a message is from the server or the client, and is
only interested in the external representation FCPPluginMessage of the message.FCPPluginMessage. To stay backward
compatible, it was decided to keep the raw network message name as is.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME
On-network format name of the message.
|
static java.lang.String |
PARAM_PREFIX |
bucket, freeOnSentBUILD, 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| Modifier and Type | Method and Description |
|---|---|
protected FCPPluginMessage |
constructFCPPluginMessage() |
SimpleFieldSet |
getFieldSet() |
java.lang.String |
getName() |
void |
run(FCPConnectionHandler handler,
Node node)
Do whatever it is that we do with this type of message.
|
getRandomAccessBucket, readFrom, writeDatasendcreate, create, withListRequestIdentifierpublic static final java.lang.String NAME
FCPPluginClientMessage.public static final java.lang.String PARAM_PREFIX
public SimpleFieldSet getFieldSet()
getFieldSet in class FCPMessagepublic java.lang.String getName()
getName in class FCPMessageprotected FCPPluginMessage constructFCPPluginMessage()
public void run(FCPConnectionHandler handler, Node node) throws MessageInvalidException
FCPMessagerun in class FCPMessageMessageInvalidException