|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 WebSocketConnection 的软件包 | |
|---|---|
| org.eclipse.jetty.websocket | |
| org.eclipse.jetty.websocket 中 WebSocketConnection 的使用 |
|---|
| org.eclipse.jetty.websocket 中 WebSocketConnection 的子接口 | |
|---|---|
interface |
WebSocketServletConnection
|
| 实现 WebSocketConnection 的 org.eclipse.jetty.websocket 中的类 | |
|---|---|
class |
WebSocketConnectionD00
|
class |
WebSocketConnectionD06
|
class |
WebSocketConnectionD08
|
class |
WebSocketConnectionRFC6455
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-------+-+-------------+-------------------------------+ |F|R|R|R| opcode|M| Payload len | Extended payload length | |I|S|S|S| (4) |A| (7) | (16/64) | |N|V|V|V| |S| | (if payload len==126/127) | | |1|2|3| |K| | | +-+-+-+-+-------+-+-------------+ - - - - - - - - - - - - - - - + | Extended payload length continued, if payload len == 127 | + - - - - - - - - - - - - - - - +-------------------------------+ | |Masking-key, if MASK set to 1 | +-------------------------------+-------------------------------+ | Masking-key (continued) | Payload Data | +-------------------------------- - - - - - - - - - - - - - - - + : Payload Data continued |
class |
WebSocketServletConnectionD00
|
class |
WebSocketServletConnectionD06
|
class |
WebSocketServletConnectionD08
|
class |
WebSocketServletConnectionRFC6455
|
| 参数类型为 WebSocketConnection 的 org.eclipse.jetty.websocket 中的方法 | |
|---|---|
protected boolean |
WebSocketClientFactory.addConnection(WebSocketConnection connection)
|
protected boolean |
WebSocketClientFactory.removeConnection(WebSocketConnection connection)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||