public final class InterWorkerStalenessMessage extends Message<InterWorkerStalenessMessage.Response,Message.NoException>
Modifier and Type | Class and Description |
---|---|
static class |
InterWorkerStalenessMessage.Response |
Message.MessageType, Message.NoException
Modifier and Type | Field and Description |
---|---|
TransactionID |
tid |
exceptionClass, messageType
Modifier | Constructor and Description |
---|---|
protected |
InterWorkerStalenessMessage(java.io.DataInput in) |
|
InterWorkerStalenessMessage(TransactionID tid) |
Modifier and Type | Method and Description |
---|---|
InterWorkerStalenessMessage.Response |
dispatch(RemoteIdentity<RemoteWorker> client,
MessageHandler h)
Visitor method.
|
protected InterWorkerStalenessMessage.Response |
readResponse(java.io.DataInput in)
Creates a Response message of the appropriate type using the provided
DataOutput |
protected void |
writeMessage(java.io.DataOutput out)
Writes this message out on the given output stream.
|
protected void |
writeResponse(java.io.DataOutput out,
InterWorkerStalenessMessage.Response r)
Writes a Response message of the appropriate type using the provided
DataOutput . |
readObject, readRef, receive, respond, respond, send, writeObject, writeRef
public final TransactionID tid
public InterWorkerStalenessMessage(TransactionID tid)
protected InterWorkerStalenessMessage(java.io.DataInput in) throws java.io.IOException
java.io.IOException
public InterWorkerStalenessMessage.Response dispatch(RemoteIdentity<RemoteWorker> client, MessageHandler h) throws ProtocolError
Message
dispatch
in class Message<InterWorkerStalenessMessage.Response,Message.NoException>
client
- the node that is issuing the request.h
- the handler to which this message is to be dispatched.ProtocolError
protected void writeMessage(java.io.DataOutput out) throws java.io.IOException
Message
writeMessage
in class Message<InterWorkerStalenessMessage.Response,Message.NoException>
java.io.IOException
- if the DataOutput
fails.protected void writeResponse(java.io.DataOutput out, InterWorkerStalenessMessage.Response r) throws java.io.IOException
Message
DataOutput
.writeResponse
in class Message<InterWorkerStalenessMessage.Response,Message.NoException>
java.io.IOException
- if the DataOutput
fails.protected InterWorkerStalenessMessage.Response readResponse(java.io.DataInput in) throws java.io.IOException
Message
DataOutput
readResponse
in class Message<InterWorkerStalenessMessage.Response,Message.NoException>
java.io.IOException
- if the response is malformed, or if the DataInput
fails.