org.universAAL.middleware.bus.msg
Class MessageType

Package class diagram package MessageType
java.lang.Object
  extended by org.universAAL.middleware.bus.msg.MessageType

public class MessageType
extends Object

Author:
mtazari - Saied Tazari This class contains message types in SodaPop layer. The message types with prefix "P2P" relate to the "bus - bus" communication while the ones without that prefix relate to the "bus member - bus" communication.

Field Summary
static MessageType event
           
static int EVENT
           
static MessageType p2p_event
           
static int P2P_EVENT
           
static MessageType p2p_reply
           
static int P2P_REPLY
           
static MessageType p2p_request
           
static int P2P_REQUEST
           
static MessageType reply
           
static int REPLY
           
static MessageType request
           
static int REQUEST
           
 
Method Summary
 String name()
           
 int ord()
           
static MessageType valueOf(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT

public static final int EVENT
See Also:
Constant Field Values

P2P_EVENT

public static final int P2P_EVENT
See Also:
Constant Field Values

P2P_REPLY

public static final int P2P_REPLY
See Also:
Constant Field Values

P2P_REQUEST

public static final int P2P_REQUEST
See Also:
Constant Field Values

REPLY

public static final int REPLY
See Also:
Constant Field Values

REQUEST

public static final int REQUEST
See Also:
Constant Field Values

event

public static final MessageType event

p2p_event

public static final MessageType p2p_event

p2p_reply

public static final MessageType p2p_reply

p2p_request

public static final MessageType p2p_request

reply

public static final MessageType reply

request

public static final MessageType request
Method Detail

valueOf

public static MessageType valueOf(String name)
Parameters:
name - name of the message type
Returns:
MessageType representation based on the given message type

name

public String name()
Returns:
name of the message type

ord

public int ord()
Returns:
order number


Copyright © 2014 universAAL Consortium. All Rights Reserved.