public class WebSocketSettings extends Object implements IWebSocketSettings
| Modifier and Type | Class and Description |
|---|---|
static class |
WebSocketSettings.SameThreadExecutor
Simple executor that runs the tasks in the caller thread.
|
IWebSocketSettings.HolderKEY| Constructor and Description |
|---|
WebSocketSettings() |
| Modifier and Type | Method and Description |
|---|---|
IWebSocketConnectionRegistry |
getConnectionRegistry() |
Executor |
getSendPayloadExecutor()
The executor that broadcasts the
WebSocketPayload
via Wicket's event bus. |
Executor |
getWebSocketPushMessageExecutor()
The executor for processing websocket push messages broadcasted to all sessions.
|
IWebSocketSettings |
setConnectionRegistry(IWebSocketConnectionRegistry connectionRegistry) |
WebSocketSettings |
setSendPayloadExecutor(Executor sendPayloadExecutor)
The executor that broadcasts the
WebSocketPayload
via Wicket's event bus. |
IWebSocketSettings |
setWebSocketPushMessageExecutor(Executor executor)
Set the executor for processing websocket push messages broadcasted to all sessions.
|
public IWebSocketSettings setWebSocketPushMessageExecutor(Executor executor)
IWebSocketSettingssetWebSocketPushMessageExecutor in interface IWebSocketSettingsexecutor - The executor used for processing push messages.public IWebSocketConnectionRegistry getConnectionRegistry()
getConnectionRegistry in interface IWebSocketSettingspublic IWebSocketSettings setConnectionRegistry(IWebSocketConnectionRegistry connectionRegistry)
setConnectionRegistry in interface IWebSocketSettingspublic Executor getWebSocketPushMessageExecutor()
IWebSocketSettingsgetWebSocketPushMessageExecutor in interface IWebSocketSettingspublic WebSocketSettings setSendPayloadExecutor(Executor sendPayloadExecutor)
WebSocketPayload
via Wicket's event bus.
Default executor does all the processing in the caller thread.sendPayloadExecutor - The executor used for broadcasting the events with web socket payloads to
WebSocketBehaviors and
WebSocketResources.public Executor getSendPayloadExecutor()
WebSocketPayload
via Wicket's event bus.WebSocketBehaviors and
WebSocketResources.Copyright © 2006–2015 Apache Software Foundation. All rights reserved.