| Package | Description |
|---|---|
| com.mulesoft.connectors.ws.api | |
| com.mulesoft.connectors.ws.internal.operation |
| Modifier and Type | Method and Description |
|---|---|
static BroadcastSocketType |
BroadcastSocketType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BroadcastSocketType[] |
BroadcastSocketType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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) |
Copyright © 2024 MuleSoft, Inc.. All rights reserved.