Package org.spincast.core.websocket
Class DefaultWebsocketContextDefault
java.lang.Object
org.spincast.core.websocket.WebsocketContextBase<DefaultWebsocketContext>
org.spincast.core.websocket.DefaultWebsocketContextDefault
- All Implemented Interfaces:
DefaultWebsocketContext
,WebsocketContext<DefaultWebsocketContext>
public class DefaultWebsocketContextDefault
extends WebsocketContextBase<DefaultWebsocketContext>
implements DefaultWebsocketContext
The default WebSocket context to pass to a WebSocket controller
when an event arrives (a message is received from the peer, for example).
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefaultWebsocketContextDefault
(String endpointId, String peerId, WebsocketPeerManager websocketWriter, WebsocketContextBaseDeps<DefaultWebsocketContext> deps) -
Method Summary
Methods inherited from class org.spincast.core.websocket.WebsocketContextBase
closeConnectionWithCurrentPeer, get, get, getEndpointId, getInstanceFromGuiceCache, getLocaleResolver, getLocaleToUse, getPeerId, getTimeZoneResolver, getTimeZoneToUse, guice, json, peerManager, sendMessageToCurrentPeer, sendMessageToCurrentPeer, templating, xml
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.spincast.core.websocket.WebsocketContext
closeConnectionWithCurrentPeer, get, get, getEndpointId, getLocaleToUse, getPeerId, getTimeZoneToUse, guice, json, sendMessageToCurrentPeer, sendMessageToCurrentPeer, templating, xml
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
DefaultWebsocketContextDefault
public DefaultWebsocketContextDefault(String endpointId, String peerId, WebsocketPeerManager websocketWriter, WebsocketContextBaseDeps<DefaultWebsocketContext> deps)
-