Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.client.api
Enum RoutingFlag

java.lang.Object
  extended by java.lang.Enum<RoutingFlag>
      extended by org.jboss.errai.bus.client.api.RoutingFlag
All Implemented Interfaces:
Serializable, Comparable<RoutingFlag>

public enum RoutingFlag
extends Enum<RoutingFlag>

Enumeration of flags that can be used when sending messages, to specify how they should be sent


Enum Constant Summary
ClusterWait
           
Committed
           
Conversational
           
DeliverLocalOnly
           
FromPeer
           
FromRemote
           
HasModelAdapter
           
NonGlobalRouting
          This message should not be globally routed
PriorityProcessing
          This message has priority and should be processed by the bus before other messages, if other messages are queued
RetryDelivery
           
 
Method Summary
abstract  int flag()
          Returns the integer representing the flag
static RoutingFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RoutingFlag[] 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

NonGlobalRouting

public static final RoutingFlag NonGlobalRouting
This message should not be globally routed


PriorityProcessing

public static final RoutingFlag PriorityProcessing
This message has priority and should be processed by the bus before other messages, if other messages are queued


Conversational

public static final RoutingFlag Conversational

FromRemote

public static final RoutingFlag FromRemote

Committed

public static final RoutingFlag Committed

HasModelAdapter

public static final RoutingFlag HasModelAdapter

RetryDelivery

public static final RoutingFlag RetryDelivery

ClusterWait

public static final RoutingFlag ClusterWait

FromPeer

public static final RoutingFlag FromPeer

DeliverLocalOnly

public static final RoutingFlag DeliverLocalOnly
Method Detail

values

public static RoutingFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RoutingFlag c : RoutingFlag.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RoutingFlag valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

flag

public abstract int flag()
Returns the integer representing the flag

Returns:
integer representation of the flag

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.