public class NextProtoNegoClientConnection extends AbstractConnection implements org.eclipse.jetty.npn.NextProtoNego.ClientProvider
Connection.Listener
Constructor and Description |
---|
NextProtoNegoClientConnection(SocketChannel channel,
SslConnection.DecryptedEndPoint endPoint,
Object attachment,
Executor executor,
SPDYClient client) |
Modifier and Type | Method and Description |
---|---|
void |
onFillable()
Callback method invoked when the endpoint is ready to be read.
|
void |
onOpen()
Callback method invoked when this
Connection is opened. |
String |
selectProtocol(List<String> protocols) |
boolean |
supports() |
void |
unsupported() |
addListener, close, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, onClose, onFillInterestedFailed, onReadTimeout, setInputBufferSize, toString
public NextProtoNegoClientConnection(SocketChannel channel, SslConnection.DecryptedEndPoint endPoint, Object attachment, Executor executor, SPDYClient client)
public void onOpen()
Connection
Callback method invoked when this Connection
is opened.
Creators of the connection implementation are responsible for calling this method.
onOpen
in interface Connection
onOpen
in class AbstractConnection
public void onFillable()
AbstractConnection
Callback method invoked when the endpoint is ready to be read.
onFillable
in class AbstractConnection
AbstractConnection.fillInterested()
public boolean supports()
supports
in interface org.eclipse.jetty.npn.NextProtoNego.ClientProvider
public void unsupported()
unsupported
in interface org.eclipse.jetty.npn.NextProtoNego.ClientProvider
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.