public class SubscriberHandshake extends BaseClientHandshake
outgoingConnectionHeader
Constructor and Description |
---|
SubscriberHandshake(ConnectionHeader outgoingConnectionHeader) |
Modifier and Type | Method and Description |
---|---|
boolean |
handshake(ConnectionHeader incommingConnectionHeader) |
getErrorMessage, getOutgoingConnectionHeader, setErrorMessage
public SubscriberHandshake(ConnectionHeader outgoingConnectionHeader)
public boolean handshake(ConnectionHeader incommingConnectionHeader)
incommingConnectionHeader
- the ConnectionHeader
sent by the servertrue
if the handshake is successful, false
otherwise