Class KeyDataResponse (0.6.0)

public class KeyDataResponse extends WireOutput

Sends back information regarding the current connection (identifier and secret) as part of start-up. Used for cancel statements.

Inheritance

java.lang.Object > WireOutput > KeyDataResponse

Constructors

KeyDataResponse(DataOutputStream output, int processId, int secretKey)

public KeyDataResponse(DataOutputStream output, int processId, int secretKey)
Parameters
NameDescription
outputDataOutputStream
processIdint
secretKeyint

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