Package | Description |
---|---|
org.snf4j.example.websocket |
A WebSocket (data transfer and web chat) client/server example.
|
org.snf4j.websocket |
Provides main interfaces and classes implementing the functionalities of the
Web Socket protocol.
|
org.snf4j.websocket.handshake |
Provides interfaces and classes for the Web Socket handshake frames and related codecs.
|
Modifier and Type | Class and Description |
---|---|
class |
SessionConfig |
Modifier and Type | Method and Description |
---|---|
IWebSocketSessionConfig |
WebSocketServerHandler.getConfig() |
IWebSocketSessionConfig |
WebSocketClientHandler.getConfig() |
Modifier and Type | Class and Description |
---|---|
class |
DefaultWebSocketSessionConfig
Default configuration for the Web Socket session.
|
Modifier and Type | Method and Description |
---|---|
IWebSocketSessionConfig |
IWebSocketHandler.getConfig() |
IWebSocketSessionConfig |
AbstractWebSocketHandler.getConfig()
Returns the Web Socket configuration object that will be used to configure
the behavior of the associated session.
|
Constructor and Description |
---|
AbstractWebSocketHandler(IWebSocketSessionConfig config)
Constructs an unnamed Web Socket handler with the specified configuration.
|
AbstractWebSocketHandler(String name,
IWebSocketSessionConfig config)
Constructs a named Web Socket handler with the specified configuration.
|
Constructor and Description |
---|
Handshaker(IWebSocketSessionConfig config,
boolean clientMode)
Constructs the handshaker.
|
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.