- Direct Known Subclasses:
- OutboundConnectionInitiator.Result.Success
- Enclosing class:
- OutboundConnectionInitiator<SuccessType extends OutboundConnectionInitiator.Result.Success>
public static class OutboundConnectionInitiator.Result<SuccessType extends OutboundConnectionInitiator.Result.Success>
extends java.lang.Object
The result of the handshake. Handshake has 3 possible outcomes:
1) it can be successful, in which case the channel and version to used is returned in this result.
2) we may decide to disconnect to reconnect with another protocol version (namely, the version is passed in this result).
3) we can have a negotiation failure for an unknown reason. (#sadtrombone)