org.universAAL.middleware.brokers.message
Enum BrokerMessage.BrokerMessageTypes

Package class diagram package BrokerMessage.BrokerMessageTypes
java.lang.Object
  extended by java.lang.Enum<BrokerMessage.BrokerMessageTypes>
      extended by org.universAAL.middleware.brokers.message.BrokerMessage.BrokerMessageTypes
All Implemented Interfaces:
Serializable, Comparable<BrokerMessage.BrokerMessageTypes>
Enclosing interface:
BrokerMessage

public static enum BrokerMessage.BrokerMessageTypes
extends Enum<BrokerMessage.BrokerMessageTypes>

The Types of broker messages

Author:
michele

Enum Constant Summary
AALSpaceMessage
           
BusMessage
           
ControlMessage
           
DeployMessage
           
SimpleMessage
           
 
Method Summary
static BrokerMessage.BrokerMessageTypes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BrokerMessage.BrokerMessageTypes[] 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

AALSpaceMessage

public static final BrokerMessage.BrokerMessageTypes AALSpaceMessage

DeployMessage

public static final BrokerMessage.BrokerMessageTypes DeployMessage

BusMessage

public static final BrokerMessage.BrokerMessageTypes BusMessage

ControlMessage

public static final BrokerMessage.BrokerMessageTypes ControlMessage

SimpleMessage

public static final BrokerMessage.BrokerMessageTypes SimpleMessage
Method Detail

values

public static BrokerMessage.BrokerMessageTypes[] 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 (BrokerMessage.BrokerMessageTypes c : BrokerMessage.BrokerMessageTypes.values())
    System.out.println(c);

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

valueOf

public static BrokerMessage.BrokerMessageTypes 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


Copyright © 2014 universAAL Consortium. All Rights Reserved.