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() |
|
Connector |
getConnector() |
|
java.lang.String |
getDefaultProtocol() |
|
java.lang.String |
getProtocol() |
|
java.util.List<java.lang.String> |
getProtocols() |
|
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, tryFillInterestedpublic java.util.List<java.lang.String> getProtocols()
public java.lang.String getDefaultProtocol()
public Connector getConnector()
public javax.net.ssl.SSLEngine getSSLEngine()
public 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–2018 Webtide. All rights reserved.