Class ReadyResponse (0.27.1)
Stay organized with collections
Save and categorize content based on your preferences.
publicclass ReadyResponseextendsWireOutputSignals readiness status to receieve messages (here we only tend to send Idle, which means ready)
Inherited Members
Constructors
ReadyResponse(DataOutputStream output, ReadyResponse.Status status)
publicReadyResponse(DataOutputStreamoutput,ReadyResponse.Statusstatus)| Parameters | |
|---|---|
| Name | Description |
output |
DataOutputStream |
status |
ReadyResponse.Status |
Methods
getIdentifier()
publicbytegetIdentifier()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()
protectedStringgetMessageName()Used for logging.
| Returns | |
|---|---|
| Type | Description |
String |
|
getPayloadString()
protectedStringgetPayloadString()Used for logging.
| Returns | |
|---|---|
| Type | Description |
String |
|
sendPayload()
publicvoidsendPayload()Override this method to include post-processing and metadata in the sending process. Template method for send.
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|