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
ConstructorsConstructorDescriptionConsumerEndpoint(io.fluxcapacitor.common.tracking.MessageStore messageStore, io.fluxcapacitor.common.MessageType messageType) -
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
public ConsumerEndpoint(io.fluxcapacitor.common.tracking.MessageStore messageStore, io.fluxcapacitor.common.MessageType messageType)
-
-
Method Details
-
onClose
public void onClose(jakarta.websocket.Session session, jakarta.websocket.CloseReason closeReason) - Overrides:
onClosein classWebsocketEndpoint
-
shutDown
protected void shutDown()Description copied from class:WebsocketEndpointClose 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:
shutDownin classWebsocketEndpoint
-
toString
-