public interface ClientHandshake
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage() |
ConnectionHeader |
getOutgoingConnectionHeader() |
boolean |
handshake(ConnectionHeader incommingConnectionHeader) |
boolean handshake(ConnectionHeader incommingConnectionHeader)
incommingConnectionHeader
- the ConnectionHeader
sent by the servertrue
if the handshake is successful, false
otherwiseConnectionHeader getOutgoingConnectionHeader()
ConnectionHeader
java.lang.String getErrorMessage()
String
returned by the server if an error occurs,
null
otherwise