接口 org.eclipse.jetty.websocket.WebSocket.Connection
的使用

使用 WebSocket.Connection 的软件包
org.eclipse.jetty.websocket   
 

org.eclipse.jetty.websocketWebSocket.Connection 的使用
 

org.eclipse.jetty.websocketWebSocket.Connection 的子接口
static interface WebSocket.FrameConnection
          Frame Level Connection The Connection interface at the level of sending/receiving frames rather than messages.
 

实现 WebSocket.Connectionorg.eclipse.jetty.websocket 中的类
 class WebSocketConnectionD00
           
 class WebSocketServletConnectionD00
           
 

返回 WebSocket.Connectionorg.eclipse.jetty.websocket 中的方法
 WebSocket.Connection WebSocketConnectionRFC6455.getConnection()
           
 WebSocket.Connection WebSocketConnectionD08.getConnection()
           
 WebSocket.Connection WebSocketConnectionD06.getConnection()
           
 WebSocket.Connection WebSocketConnectionD00.getConnection()
           
 WebSocket.Connection WebSocketConnection.getConnection()
           
 WebSocket.Connection WebSocketClient.open(URI uri, WebSocket websocket, long maxConnectTime, TimeUnit units)
          Opens a websocket connection to the URI and blocks until the connection is accepted or there is an error.
 

返回变量类型为 WebSocket.Connection 的类型的 org.eclipse.jetty.websocket 中的方法
 Future<WebSocket.Connection> WebSocketClient.open(URI uri, WebSocket websocket)
          Asynchronously opens a websocket connection and returns a Future to obtain the connection.
 

参数类型为 WebSocket.Connectionorg.eclipse.jetty.websocket 中的方法
 void WebSocket.onOpen(WebSocket.Connection connection)
          Called when a new websocket connection is accepted.
 



Copyright © 2013. All Rights Reserved.