Class StartUpMessageResponse (0.18.1)

public class StartUpMessageResponse extends WireOutput

Sends back start-up parameters (can be sent more than once)

Inheritance

java.lang.Object > WireOutput > StartUpMessageResponse

Constructors

StartUpMessageResponse(DataOutputStream output, byte[] parameterKey, byte[] parameterValue)

public StartUpMessageResponse(DataOutputStream output, byte[] parameterKey, byte[] parameterValue)
Parameters
NameDescription
outputDataOutputStream
parameterKeybyte[]
parameterValuebyte[]

Fields

parameterKey

public final byte[] parameterKey
Field Value
TypeDescription
byte[]

parameterValue

public final byte[] parameterValue
Field Value
TypeDescription
byte[]

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
TypeDescription
byte
Overrides

getMessageName()

protected String getMessageName()

Used for logging.

Returns
TypeDescription
String
Overrides

getPayloadString()

protected String getPayloadString()

Used for logging.

Returns
TypeDescription
String
Overrides

sendPayload()

public void sendPayload()

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

Overrides Exceptions
TypeDescription
IOException