public class GetCertChainMessage extends Message<GetCertChainMessage.Response,Message.NoException>
Modifier and Type | Class and Description |
---|---|
static class |
GetCertChainMessage.Response |
Message.MessageType, Message.NoException
exceptionClass, messageType
Modifier | Constructor and Description |
---|---|
|
GetCertChainMessage() |
protected |
GetCertChainMessage(java.io.DataInput in) |
Modifier and Type | Method and Description |
---|---|
GetCertChainMessage.Response |
dispatch(RemoteIdentity<RemoteWorker> client,
MessageHandler h)
Visitor method.
|
protected GetCertChainMessage.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,
GetCertChainMessage.Response r)
Writes a Response message of the appropriate type using the provided
DataOutput . |
readObject, readRef, receive, respond, respond, send, writeObject, writeRef
public GetCertChainMessage()
protected GetCertChainMessage(java.io.DataInput in)
public GetCertChainMessage.Response dispatch(RemoteIdentity<RemoteWorker> client, MessageHandler h) throws ProtocolError
Message
dispatch
in class Message<GetCertChainMessage.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)
Message
writeMessage
in class Message<GetCertChainMessage.Response,Message.NoException>
protected void writeResponse(java.io.DataOutput out, GetCertChainMessage.Response r) throws java.io.IOException
Message
DataOutput
.writeResponse
in class Message<GetCertChainMessage.Response,Message.NoException>
java.io.IOException
- if the DataOutput
fails.protected GetCertChainMessage.Response readResponse(java.io.DataInput in) throws java.io.IOException
Message
DataOutput
readResponse
in class Message<GetCertChainMessage.Response,Message.NoException>
java.io.IOException
- if the response is malformed, or if the DataInput
fails.