public class WebSocketConnectionD06 extends AbstractConnection implements WebSocketConnection
_endp| Constructor and Description |
|---|
WebSocketConnectionD06(WebSocket websocket,
EndPoint endpoint,
WebSocketBuffers buffers,
long timestamp,
int maxIdleTime,
String protocol) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeIn(int code,
String message) |
void |
closeOut(int code,
String message) |
void |
fillBuffersFrom(Buffer buffer) |
WebSocket.Connection |
getConnection() |
List<Extension> |
getExtensions() |
Connection |
handle() |
static String |
hashKey(String key) |
boolean |
isIdle() |
boolean |
isSuspended() |
void |
onClose() |
protected void |
onFrameHandshake() |
void |
onIdleExpired(long idleForMs) |
void |
onInputShutdown() |
protected void |
onWebSocketOpen() |
void |
shutdown() |
getEndPoint, getTimeStamp, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTimeStamppublic WebSocketConnectionD06(WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, long timestamp, int maxIdleTime, String protocol) throws IOException
IOExceptionpublic WebSocket.Connection getConnection()
getConnection in interface WebSocketConnectionpublic Connection handle() throws IOException
handle in interface ConnectionIOExceptionpublic void onInputShutdown()
throws IOException
onInputShutdown in interface AsyncConnectionIOExceptionpublic boolean isIdle()
isIdle in interface Connectionpublic void onIdleExpired(long idleForMs)
onIdleExpired in interface ConnectiononIdleExpired in class AbstractConnectionpublic boolean isSuspended()
isSuspended in interface Connectionpublic void onClose()
onClose in interface Connectionpublic void closeIn(int code,
String message)
public void closeOut(int code,
String message)
public void shutdown()
shutdown in interface WebSocketConnectionpublic void fillBuffersFrom(Buffer buffer)
fillBuffersFrom in interface WebSocketConnectionpublic List<Extension> getExtensions()
getExtensions in interface WebSocketConnectionprotected void onFrameHandshake()
protected void onWebSocketOpen()
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.