Class AbstractWebsocket
java.lang.Object
jakarta.websocket.Endpoint
ch.tocco.nice2.web.core.api.websocket.BaseWebsocket
ch.tocco.nice2.devcon.impl.socket.AbstractWebsocket
- Direct Known Subclasses:
LoggingWebsocketDefinition.LoggingWebsocket
,ModelValidationWebsocketDefinition.ModelValidationWebsocket
,SqlLoggingWebsocketDefinition.SqlLoggingWebsocket
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doOnMessage
(jakarta.websocket.Session session, String message) Called when a message has arrived from the client that is bound to this instance.Methods inherited from class ch.tocco.nice2.web.core.api.websocket.BaseWebsocket
addListener, close, doOnClose, doOnError, doOnOpen, getUserProperties, onClose, onError, onOpen, sendMessage
-
Constructor Details
-
AbstractWebsocket
protected AbstractWebsocket(int idleTimeoutSeconds)
-
-
Method Details
-
doOnMessage
Description copied from class:BaseWebsocket
Called when a message has arrived from the client that is bound to this instance.- Specified by:
doOnMessage
in classBaseWebsocket
-