DelegatedContainerScope
, SimpleContainerScope
public interface WebSocketContainerScope
Modifier and Type | Method | Description |
---|---|---|
ByteBufferPool |
getBufferPool() |
The configured Container Buffer Pool.
|
java.util.concurrent.Executor |
getExecutor() |
Executor in use by the container.
|
DecoratedObjectFactory |
getObjectFactory() |
Object Factory used to create objects.
|
WebSocketPolicy |
getPolicy() |
The policy the container is running on.
|
SslContextFactory |
getSslContextFactory() |
The SslContextFactory in use by the container.
|
boolean |
isRunning() |
Test for if the container has been started.
|
void |
onSessionClosed(WebSocketSession session) |
A Session has been closed
|
void |
onSessionOpened(WebSocketSession session) |
A Session has been opened
|
ByteBufferPool getBufferPool()
java.util.concurrent.Executor getExecutor()
DecoratedObjectFactory getObjectFactory()
WebSocketPolicy getPolicy()
SslContextFactory getSslContextFactory()
boolean isRunning()
void onSessionOpened(WebSocketSession session)
session
- the session that was openedvoid onSessionClosed(WebSocketSession session)
session
- the session that was closedCopyright © 1995–2018 Webtide. All rights reserved.