public interface NegotiatedConnection extends Connection
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNegotiated()
Connection implementation with protocol semantics, generally,
involves negotiating a packet stream; for example XMPP connections
requires XMPP stream to be negotiated before user packets can be
sent/received on the connection. |
void |
negotiationComplete()
Set negotiation state to complete for this connection
|
close, connect, getId, getLastActivity, isConnected, read, write, writeboolean isNegotiated()
Connection implementation with protocol semantics, generally,
involves negotiating a packet stream; for example XMPP connections
requires XMPP stream to be negotiated before user packets can be
sent/received on the connection.void negotiationComplete()
Copyright © 2019. All rights reserved.