public class WebSocketServerConnection extends AbstractWebSocketConnection
BaseConnection.State, BaseConnection.SuspendTokenConnection.Listener| Constructor and Description |
|---|
WebSocketServerConnection(EndPoint endp,
Executor executor,
Scheduler scheduler,
WebSocketPolicy policy,
ByteBufferPool bufferPool,
WebSocketServerFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
onClose()
Callback method invoked when this
Connection is closed. |
void |
onOpen()
Callback method invoked when this
Connection is opened. |
close, close, complete, disconnect, disconnect, flush, getBufferPool, getExtensions, getGenerator, getParser, getPolicy, getQueue, getRemoteAddress, getScheduler, getSession, getState, isOpen, isReading, notifyClosing, onFillable, output, resume, setExtensions, setSession, suspend, toStringaddListener, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, onFillInterestedFailed, onReadTimeout, setInputBufferSizepublic WebSocketServerConnection(EndPoint endp, Executor executor, Scheduler scheduler, WebSocketPolicy policy, ByteBufferPool bufferPool, WebSocketServerFactory factory)
public void onClose()
ConnectionCallback method invoked when this Connection is closed.
Creators of the connection implementation are responsible for calling this method.
onClose in interface ConnectiononClose in class AbstractWebSocketConnectionpublic 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 AbstractWebSocketConnectionCopyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.