public class DelegatedContainerScope extends java.lang.Object implements WebSocketContainerScope
Constructor and Description |
---|
DelegatedContainerScope(WebSocketPolicy policy,
WebSocketContainerScope parentScope) |
Modifier and Type | Method and Description |
---|---|
void |
addSessionListener(WebSocketSessionListener listener) |
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.
|
java.util.Collection<WebSocketSessionListener> |
getSessionListeners() |
SslContextFactory |
getSslContextFactory()
The SslContextFactory in use by the container.
|
boolean |
isRunning()
Test for if the container has been started.
|
void |
removeSessionListener(WebSocketSessionListener listener) |
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 addSessionListener(WebSocketSessionListener listener)
addSessionListener
in interface WebSocketContainerScope
public void removeSessionListener(WebSocketSessionListener listener)
removeSessionListener
in interface WebSocketContainerScope
public java.util.Collection<WebSocketSessionListener> getSessionListeners()
getSessionListeners
in interface WebSocketContainerScope
Copyright © 1995–2023 Webtide. All rights reserved.