Class WebsocketGatewayClient
java.lang.Object
io.fluxcapacitor.javaclient.common.websocket.AbstractWebsocketClient
io.fluxcapacitor.javaclient.publishing.client.WebsocketGatewayClient
- All Implemented Interfaces:
Monitored<SerializedMessage>,GatewayClient,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class io.fluxcapacitor.javaclient.common.websocket.AbstractWebsocketClient
AbstractWebsocketClient.WebSocketRequest -
Field Summary
Fields inherited from class io.fluxcapacitor.javaclient.common.websocket.AbstractWebsocketClient
defaultObjectMapper, defaultWebSocketContainer -
Constructor Summary
ConstructorsConstructorDescriptionWebsocketGatewayClient(String endPointUrl, int backlogSize, WebSocketClient.ClientConfig clientConfig, MessageType type) WebsocketGatewayClient(String endPointUrl, WebSocketClient.ClientConfig clientConfig, MessageType type) WebsocketGatewayClient(URI endPointUri, int backlogSize, WebSocketClient.ClientConfig clientConfig, MessageType type) -
Method Summary
Modifier and TypeMethodDescriptionprotected AwaitabledoStore(List<SerializedMessage> messages) registerMonitor(Consumer<SerializedMessage> monitor) send(Guarantee guarantee, SerializedMessage... messages) Methods inherited from class io.fluxcapacitor.javaclient.common.websocket.AbstractWebsocketClient
close, close, handleResult, onClose, onError, onMessage, retryOutstandingRequests, send, send, sendAndForget, sendAndWait, sendBatch, tryPublishMetricsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxcapacitor.javaclient.publishing.client.GatewayClient
close
-
Constructor Details
-
WebsocketGatewayClient
public WebsocketGatewayClient(String endPointUrl, WebSocketClient.ClientConfig clientConfig, MessageType type) -
WebsocketGatewayClient
public WebsocketGatewayClient(String endPointUrl, int backlogSize, WebSocketClient.ClientConfig clientConfig, MessageType type) -
WebsocketGatewayClient
public WebsocketGatewayClient(URI endPointUri, int backlogSize, WebSocketClient.ClientConfig clientConfig, MessageType type)
-
-
Method Details
-
send
- Specified by:
sendin interfaceGatewayClient
-
registerMonitor
- Specified by:
registerMonitorin interfaceMonitored<SerializedMessage>
-
doStore
-