public abstract class NegotiatingServerConnection extends AbstractConnection
| Modifier and Type | Class and Description |
|---|---|
static interface |
NegotiatingServerConnection.CipherDiscriminator |
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo| Modifier | Constructor and Description |
|---|---|
protected |
NegotiatingServerConnection(Connector connector,
EndPoint endPoint,
SSLEngine engine,
List<String> protocols,
String defaultProtocol) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected Connector |
getConnector() |
protected String |
getDefaultProtocol() |
protected String |
getProtocol() |
protected List<String> |
getProtocols() |
protected SSLEngine |
getSSLEngine() |
void |
onFillable() |
void |
onOpen() |
protected void |
setProtocol(String protocol) |
addListener, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isDispatchIO, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeListener, setInputBufferSize, toString, tryFillInterested, tryFillInterestedprotected String getDefaultProtocol()
protected Connector getConnector()
protected SSLEngine getSSLEngine()
protected String getProtocol()
protected void setProtocol(String protocol)
public void onOpen()
onOpen in interface ConnectiononOpen in class AbstractConnectionpublic void onFillable()
onFillable in class AbstractConnectionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface Connectionclose in class AbstractConnectionCopyright © 1995–2017 Webtide. All rights reserved.