| Constructor and Description |
|---|
OutboundSocketCallback(FluxCapacitor fluxCapacitor,
OutboundSocketListener outboundSocketListener,
org.mule.runtime.http.api.domain.message.request.HttpRequest request,
List<String> defaultGroups,
WebSocketClientSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
FluxCapacitor |
FluxCapacitorProvider.connect() |
| Modifier and Type | Method and Description |
|---|---|
void |
FluxCapacitorProvider.disconnect(FluxCapacitor fluxCapacitor) |
org.mule.runtime.api.connection.ConnectionValidationResult |
FluxCapacitorProvider.validate(FluxCapacitor connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
WebSocketOperations.broadcast(org.mule.runtime.api.metadata.TypedValue<InputStream> content,
FluxCapacitor fluxCapacitor,
String path,
BroadcastSocketType socketType,
List<String> groups,
org.mule.runtime.core.api.retry.policy.RetryPolicyTemplate retryPolicyTemplate,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<List<BroadcastFailure>,Void> completionCallback)
Sends the given
content to all the active WebSockets that match the path, socketType and
groups criteria. |
void |
WebSocketOperations.bulkCloseSockets(FluxCapacitor fluxCapacitor,
BroadcastSocketType socketType,
List<String> groups,
org.mule.runtime.http.api.ws.WebSocketCloseCode closeCode,
String reason,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> completionCallback) |
void |
WebSocketOperations.closeSocket(String socketId,
org.mule.runtime.http.api.ws.WebSocketCloseCode closeCode,
String reason,
FluxCapacitor fluxCapacitor,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
Closes the
socket |
void |
WebSocketOperations.openOutboundSocket(String socketId,
UriSettings uriSettings,
WebSocketRequestBuilder connectionRequestBuilder,
List<String> defaultGroups,
WebSocketsConnector config,
FluxCapacitor fluxCapacitor,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<String,WebSocketAttributes> callback)
Opens a new outbound socket
|
void |
WebSocketOperations.send(String socketId,
org.mule.runtime.api.metadata.TypedValue<InputStream> content,
FluxCapacitor fluxCapacitor,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback,
org.mule.runtime.core.api.retry.policy.RetryPolicyTemplate retryPolicyTemplate)
Sends the given
content through the given socket |
void |
WebSocketOperations.subscribeGroups(FluxCapacitor fluxCapacitor,
String socketId,
List<String> groups)
Subscribes the socket of the given
socketId to the given groups. |
void |
WebSocketOperations.unsubscribeGroups(FluxCapacitor fluxCapacitor,
String socketId,
List<String> groups)
Unsubscribes the socket of the given
socketId from the given groups. |
| Modifier and Type | Field and Description |
|---|---|
protected FluxCapacitor |
PathSource.fluxCapacitor |
| Modifier and Type | Field and Description |
|---|---|
protected org.mule.runtime.api.connection.ConnectionProvider<FluxCapacitor> |
PathSource.connectionProvider |
Copyright © 2024 MuleSoft, Inc.. All rights reserved.