public abstract class NegotiatingServerConnection extends AbstractConnection
| Modifier and Type | Class and Description |
|---|---|
static interface |
NegotiatingServerConnection.CipherDiscriminator |
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo| Modifier and Type | Method and Description |
|---|---|
void |
close()
Performs a logical close of this connection.
|
Connector |
getConnector() |
String |
getDefaultProtocol() |
String |
getProtocol() |
List<String> |
getProtocols() |
SSLEngine |
getSSLEngine() |
void |
onFillable()
Callback method invoked when the endpoint is ready to be read.
|
void |
onOpen()
Callback method invoked when this connection is opened.
|
addListener, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onIdleExpired, removeListener, setInputBufferSize, toConnectionString, toString, tryFillInterested, tryFillInterestedpublic String getDefaultProtocol()
public Connector getConnector()
public SSLEngine getSSLEngine()
public String getProtocol()
public void onOpen()
ConnectionCallback method invoked when this connection is opened.
Creators of the connection implementation are responsible for calling this method.
onOpen in interface ConnectiononOpen in class AbstractConnectionpublic void onFillable()
AbstractConnectionCallback method invoked when the endpoint is ready to be read.
onFillable in class AbstractConnectionAbstractConnection.fillInterested()public void close()
ConnectionPerforms a logical close of this connection.
For simple connections, this may just mean to delegate the close to the associated
EndPoint but, for example, SSL connections should write the SSL close message
before closing the associated EndPoint.
close in interface Closeableclose in interface AutoCloseableclose in interface Connectionclose in class AbstractConnectionCopyright © 2010 - 2020 Adobe. All Rights Reserved