org.apache.wicket.protocol.ws
Class WebSocketSettings
java.lang.Object
org.apache.wicket.protocol.ws.WebSocketSettings
- All Implemented Interfaces:
- IWebSocketSettings
public class WebSocketSettings
- extends Object
- implements IWebSocketSettings
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSocketSettings
public WebSocketSettings()
setWebSocketPushMessageExecutor
public IWebSocketSettings setWebSocketPushMessageExecutor(Executor executor)
- Description copied from interface:
IWebSocketSettings
- Set the executor for processing websocket push messages broadcasted to all sessions.
Default executor does all the processing in the caller thread. Using a proper thread pool is adviced
for applications that send push events from ajax calls to avoid page level deadlocks.
- Specified by:
setWebSocketPushMessageExecutor in interface IWebSocketSettings
- Parameters:
executor - The executor used for processing push messages.
getConnectionRegistry
public IWebSocketConnectionRegistry getConnectionRegistry()
- Specified by:
getConnectionRegistry in interface IWebSocketSettings
setConnectionRegistry
public IWebSocketSettings setConnectionRegistry(IWebSocketConnectionRegistry connectionRegistry)
- Specified by:
setConnectionRegistry in interface IWebSocketSettings
getWebSocketPushMessageExecutor
public Executor getWebSocketPushMessageExecutor()
- Description copied from interface:
IWebSocketSettings
- The executor for processing websocket push messages broadcasted to all sessions.
- Specified by:
getWebSocketPushMessageExecutor in interface IWebSocketSettings
- Returns:
- The executor used for processing push messages.
Copyright © 2006–2013 Apache Software Foundation. All rights reserved.