Class AcceptSSLResponse (0.15.0)

public class AcceptSSLResponse extends WireOutput

Signals to client that we accept SSL.

Inheritance

java.lang.Object > WireOutput > AcceptSSLResponse

Constructors

AcceptSSLResponse(DataOutputStream output)

public AcceptSSLResponse(DataOutputStream output)
Parameter
NameDescription
outputDataOutputStream

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

isCompoundResponse()

protected boolean isCompoundResponse()

Whether this response sends more data than just the identifier (i.e.: length). WireOutput items are convoluted in that some do send a large payload, and other (such as DeclineSSLResponse) send only one byte back. Override with false if that is the case.

Returns
TypeDescription
boolean
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