public abstract class BaseClientHandshake extends java.lang.Object implements ClientHandshake
ClientHandshake
implementation for convenience.Modifier and Type | Field and Description |
---|---|
protected ConnectionHeader |
outgoingConnectionHeader |
Constructor and Description |
---|
BaseClientHandshake(ConnectionHeader outgoingConnectionHeader) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage() |
ConnectionHeader |
getOutgoingConnectionHeader() |
protected void |
setErrorMessage(java.lang.String errorMessage) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handshake
protected final ConnectionHeader outgoingConnectionHeader
public BaseClientHandshake(ConnectionHeader outgoingConnectionHeader)
public ConnectionHeader getOutgoingConnectionHeader()
getOutgoingConnectionHeader
in interface ClientHandshake
ConnectionHeader
public java.lang.String getErrorMessage()
getErrorMessage
in interface ClientHandshake
String
returned by the server if an error occurs,
null
otherwiseprotected void setErrorMessage(java.lang.String errorMessage)