|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BusCommand>
org.jboss.errai.bus.client.protocols.BusCommand
public enum BusCommand
Defines the standard protocol commands for interaction between federated MessageBus
instances.
Enum Constant Summary | |
---|---|
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
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |