Class AuthenticationOkResponse (0.5.1)

public class AuthenticationOkResponse extends WireOutput

Assures the client that the authentication process (if any) was successful.

Inheritance

java.lang.Object > WireOutput > AuthenticationOkResponse

Constructors

AuthenticationOkResponse(DataOutputStream output)

public AuthenticationOkResponse(DataOutputStream output)
Parameter
Name Description
output DataOutputStream

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
Type Description
byte
Overrides

getMessageName()

protected String getMessageName()

Used for logging.

Returns
Type Description
String
Overrides

getPayloadString()

protected String getPayloadString()

Used for logging.

Returns
Type Description
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
Type Description
IOException