public interface ClientHandshakeListener
Modifier and Type | Method and Description |
---|---|
void |
onFailure(ConnectionHeader outgoingConnectionHeader,
java.lang.String errorMessage)
Called when the
ClientHandshake fails. |
void |
onSuccess(ConnectionHeader outgoingConnectionHeader,
ConnectionHeader incomingConnectionHeader)
Called when the
ClientHandshake completes successfully. |
void onSuccess(ConnectionHeader outgoingConnectionHeader, ConnectionHeader incomingConnectionHeader)
ClientHandshake
completes successfully.outgoingConnectionHeader
- incomingConnectionHeader
- void onFailure(ConnectionHeader outgoingConnectionHeader, java.lang.String errorMessage)
ClientHandshake
fails.outgoingConnectionHeader
- errorMessage
-