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