
public.javadoc.org.spincast.quickstart.exchange.AppWebsocketContext.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
AppWebsocketContext (org.spincast:spincast-framework 2.1.1 API)
Package org.spincast.quickstart.exchange
Interface AppWebsocketContext
- All Superinterfaces:
WebsocketContext<AppWebsocketContext>
- All Known Implementing Classes:
AppWebsocketContextDefault
Custom type which allows our application to
extend the default Websocket Context.
Spincast will pass an instance of this class to all
Websocket events handlers, when a new event occures.
-
Method Summary
Methods inherited from interface org.spincast.core.websocket.WebsocketContext
closeConnectionWithCurrentPeer, get, get, getEndpointId, getLocaleToUse, getPeerId, getTimeZoneToUse, guice, json, sendMessageToCurrentPeer, sendMessageToCurrentPeer, templating, xml
-
Method Details
-
helloCurrentPeer
void helloCurrentPeer()
A custom method example.
This will simply send a "Hello!" message to the
current peer.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy