public class DelegatedContainerScope extends java.lang.Object implements WebSocketContainerScope
Constructor and Description |
---|
DelegatedContainerScope(WebSocketPolicy policy,
WebSocketContainerScope parentScope) |
Modifier and Type | Method and 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
|
public DelegatedContainerScope(WebSocketPolicy policy, WebSocketContainerScope parentScope)
public ByteBufferPool getBufferPool()
WebSocketContainerScope
getBufferPool
in interface WebSocketContainerScope
public java.util.concurrent.Executor getExecutor()
WebSocketContainerScope
getExecutor
in interface WebSocketContainerScope
public DecoratedObjectFactory getObjectFactory()
WebSocketContainerScope
getObjectFactory
in interface WebSocketContainerScope
public WebSocketPolicy getPolicy()
WebSocketContainerScope
getPolicy
in interface WebSocketContainerScope
public SslContextFactory getSslContextFactory()
WebSocketContainerScope
getSslContextFactory
in interface WebSocketContainerScope
public boolean isRunning()
WebSocketContainerScope
isRunning
in interface WebSocketContainerScope
public void onSessionOpened(WebSocketSession session)
WebSocketContainerScope
onSessionOpened
in interface WebSocketContainerScope
session
- the session that was openedpublic void onSessionClosed(WebSocketSession session)
WebSocketContainerScope
onSessionClosed
in interface WebSocketContainerScope
session
- the session that was closedCopyright © 1995–2019 Webtide. All rights reserved.