public enum BusCommand extends Enum<BusCommand>
MessageBus
instances.Enum Constant and Description |
---|
Associate
The first command sent from a client bus to a remote bus.
|
Disconnect |
FinishAssociation
The command sent from the remote bus back to the client bus to tell it that it should transition to a
normal communications mode, as all remote subscription data will have been sent at this point.
|
Heartbeat |
RemoteSubscribe
Notifies the remote bus that a local subscription has been registered.
|
RemoteUnsubscribe
Notifies the remote bus that a particular subject is no longer subscribed to locally.
|
Resend |
SessionExpired |
Unknown |
WebsocketChannelOpen |
WebsocketChannelVerify |
WebsocketNegotiationFailed |
Modifier and Type | Method and Description |
---|---|
static BusCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusCommand Associate
public static final BusCommand FinishAssociation
public static final BusCommand RemoteSubscribe
Part | Type | Description |
MessageParts.Subject |
String |
The name of the subject being subscribed to |
public static final BusCommand RemoteUnsubscribe
Part | Type | Description |
MessageParts.Subject |
String |
The name of the subject being subscribed to |
public static final BusCommand Heartbeat
public static final BusCommand Disconnect
public static final BusCommand Resend
public static final BusCommand SessionExpired
public static final BusCommand WebsocketChannelVerify
public static final BusCommand WebsocketChannelOpen
public static final BusCommand WebsocketNegotiationFailed
public static final BusCommand Unknown
public static BusCommand[] values()
for (BusCommand c : BusCommand.values()) System.out.println(c);
public static BusCommand 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 © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.