Class ConsumerEndpoint
java.lang.Object
jakarta.websocket.Endpoint
io.fluxcapacitor.testserver.websocket.WebsocketEndpoint
io.fluxcapacitor.testserver.websocket.ConsumerEndpoint
-
Nested Class Summary
Nested classes/interfaces inherited from class io.fluxcapacitor.testserver.websocket.WebsocketEndpoint
WebsocketEndpoint.ClientMessage, WebsocketEndpoint.SessionBacklog
-
Field Summary
Fields inherited from class io.fluxcapacitor.testserver.websocket.WebsocketEndpoint
shutDown, shuttingDown
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.fluxcapacitor.testserver.websocket.WebsocketEndpoint
createTasks, deserializeRequest, doSendResult, findAlternativeBacklog, getClientId, getClientName, getCompressionAlgorithm, getProjectId, handleMessage, onError, onOpen, registerMetrics, sendResultBatch
-
Constructor Details
-
ConsumerEndpoint
-
-
Method Details
-
onClose
public void onClose(jakarta.websocket.Session session, jakarta.websocket.CloseReason closeReason) - Overrides:
onClose
in classWebsocketEndpoint
-
shutDown
protected void shutDown()Description copied from class:WebsocketEndpoint
Close all sessions on the websocket after an optional delay. During the delay we don't handle new requests but will be able to send back results.- Overrides:
shutDown
in classWebsocketEndpoint
-
toString
-