Uses of Interface
org.spincast.core.websocket.DefaultWebsocketContext
Package
Description
-
Uses of DefaultWebsocketContext in org.spincast.core.websocket
Modifier and TypeClassDescriptionclass
The default WebSocket context to pass to a WebSocket controller when an event arrives (a message is received from the peer, for example).ModifierConstructorDescriptionDefaultWebsocketContextDefault
(String endpointId, String peerId, WebsocketPeerManager websocketWriter, WebsocketContextBaseDeps<DefaultWebsocketContext> deps) -
Uses of DefaultWebsocketContext in org.spincast.demos.supercalifragilisticexpialidocious
Modifier and TypeMethodDescriptionprotected void
AppController.init
(Router<AppRequestContext, DefaultWebsocketContext> router) Init method : we inject the Router and add some Routes to it. -
Uses of DefaultWebsocketContext in org.spincast.plugins.routing
ModifierConstructorDescriptionDefaultRouterDefault
(SpincastRouterDeps<DefaultRequestContext, DefaultWebsocketContext> spincastRouterDeps) -
Uses of DefaultWebsocketContext in org.spincast.website.controllers
Modifier and TypeMethodDescriptionvoid
WebsocketsDemoEchoAllController.onPeerClosed
(DefaultWebsocketContext context) void
WebsocketsDemoEchoAllController.onPeerConnected
(DefaultWebsocketContext context) void
WebsocketsDemoEchoAllController.onPeerMessage
(DefaultWebsocketContext context, byte[] message) void
WebsocketsDemoEchoAllController.onPeerMessage
(DefaultWebsocketContext context, String message) -
Uses of DefaultWebsocketContext in org.spincast.website.exchange
ModifierConstructorDescriptionAppRouterDefault
(SpincastRouterDeps<AppRequestContext, DefaultWebsocketContext> spincastRouterDeps)