public class ReadyResponse extends WireOutput
Signals readiness status to receieve messages (here we only tend to send Idle, which means ready)
Constructors
ReadyResponse(DataOutputStream output, ReadyResponse.Status status)
public ReadyResponse(DataOutputStream output, ReadyResponse.Status status)
Parameters | |
---|---|
Name | Description |
output | DataOutputStream |
status | ReadyResponse.Status |
Methods
getIdentifier()
public byte getIdentifier()
Override this to specify the byte which represents the protocol for the specific message. Used for logging and by send.
Returns | |
---|---|
Type | Description |
byte |
getMessageName()
protected String getMessageName()
Used for logging.
Returns | |
---|---|
Type | Description |
String |
getPayloadString()
protected String getPayloadString()
Used for logging.
Returns | |
---|---|
Type | Description |
String |
sendPayload()
public void sendPayload()
Override this method to include post-processing and metadata in the sending process. Template method for send.
Exceptions | |
---|---|
Type | Description |
IOException |