public class GetFailedMessage extends FCPMessage implements java.io.Serializable
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| Modifier | Constructor and Description |
|---|---|
protected |
GetFailedMessage() |
|
GetFailedMessage(java.io.DataInputStream dis,
RequestIdentifier reqID,
long expectedSize,
java.lang.String expectedType) |
|
GetFailedMessage(FetchException e,
java.lang.String identifier,
boolean global) |
|
GetFailedMessage(SimpleFieldSet fs,
boolean useVerboseFields)
Construct from a fieldset.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFailedMessage() |
SimpleFieldSet |
getFieldSet() |
SimpleFieldSet |
getFieldSet(boolean verbose)
Write to a SimpleFieldSet for storage or transmission.
|
java.lang.String |
getLongFailedMessage() |
java.lang.String |
getName() |
java.lang.String |
getShortFailedMessage() |
void |
run(FCPConnectionHandler handler,
Node node)
Do whatever it is that we do with this type of message.
|
void |
writeTo(java.io.DataOutputStream dos) |
create, create, send, withListRequestIdentifierpublic GetFailedMessage(FetchException e, java.lang.String identifier, boolean global)
public GetFailedMessage(SimpleFieldSet fs, boolean useVerboseFields) throws java.net.MalformedURLException
useVerboseFields - If true, read in verbose fields (CodeDescription
etc), if false, reconstruct them from the error code.java.net.MalformedURLExceptionprotected GetFailedMessage()
public GetFailedMessage(java.io.DataInputStream dis,
RequestIdentifier reqID,
long expectedSize,
java.lang.String expectedType)
throws StorageFormatException,
java.io.IOException
StorageFormatExceptionjava.io.IOExceptionpublic SimpleFieldSet getFieldSet()
getFieldSet in class FCPMessagepublic SimpleFieldSet getFieldSet(boolean verbose)
verbose - If true, include fields which derive directly from static
stuff on InsertException (and therefore can be omitted if talking to self
or another node).public java.lang.String getName()
getName in class FCPMessagepublic void run(FCPConnectionHandler handler, Node node) throws MessageInvalidException
FCPMessagerun in class FCPMessageMessageInvalidExceptionpublic java.lang.String getFailedMessage()
public java.lang.String getShortFailedMessage()
public java.lang.String getLongFailedMessage()
public void writeTo(java.io.DataOutputStream dos)
throws java.io.IOException
java.io.IOException