public interface WebSocketContainerScope
Modifier and Type | Method and Description |
---|---|
ByteBufferPool |
getBufferPool()
The configured Container Buffer Pool.
|
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()
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–2017 Webtide. All rights reserved.