Class ReadyResponse (0.27.1)

publicclass ReadyResponseextendsWireOutput

Signals readiness status to receieve messages (here we only tend to send Idle, which means ready)

Inheritance

java.lang.Object > WireOutput > ReadyResponse

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
Overrides

getMessageName()

protectedStringgetMessageName()

Used for logging.

Returns
Type Description
String
Overrides

getPayloadString()

protectedStringgetPayloadString()

Used for logging.

Returns
Type Description
String
Overrides

sendPayload()

publicvoidsendPayload()

Override this method to include post-processing and metadata in the sending process. Template method for send.

Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.