public enum BroadcastSocketType extends Enum<BroadcastSocketType>
WebSocket to be considered for a broadcast operation| Enum Constant and Description |
|---|
ALL
Matches all sockets regardless of its type
|
INBOUND
Matches
WebSocket.WebSocketType.INBOUND sockets |
OUTBOUND
Matches
WebSocket.WebSocketType.OUTBOUND sockets |
| Modifier and Type | Method and Description |
|---|---|
abstract Predicate<org.mule.runtime.http.api.ws.WebSocket> |
asFilter() |
static BroadcastSocketType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BroadcastSocketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BroadcastSocketType INBOUND
WebSocket.WebSocketType.INBOUND socketspublic static final BroadcastSocketType OUTBOUND
WebSocket.WebSocketType.OUTBOUND socketspublic static final BroadcastSocketType ALL
public static BroadcastSocketType[] values()
for (BroadcastSocketType c : BroadcastSocketType.values()) System.out.println(c);
public static BroadcastSocketType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2024 MuleSoft, Inc.. All rights reserved.