|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MessageType>
com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.MessageType
public enum MessageType
Contains the message type enumeration. Each message has a certain type identified by a member of this enum.
This enum represents a default set of message types. As the type is only an integer, each system may introduce it's own MessageType enum which reflects it's used message types.
| Enum Constant Summary | |
|---|---|
CmdAnswer
This message is a answer to a command message. |
|
Command
Message containing a command for Sunrise (like update or cancel). |
|
CompoundEvent
Asynchronous event message from a Sunrise compound. |
|
CompoundIOConfig
Message containing the return value order for a SPR. |
|
CompoundIOValues
Message containing compound IO values. |
|
CompoundReply
ANswer to a async compound request. |
|
CompoundRequest
Async compound request. |
|
Error
Error message. |
|
Event
Indicates an asynchronous event message from Sunrise. |
|
KeepAlive
This message type is used for a keep-alive message. |
|
List
Message containing a list of messages. |
|
Register
This message type is used for an registration message. |
|
ReturnState
Message containing return value data for a SPR. |
|
SPR
Message containing a SPR. |
|
SSR
Message containing a SSR. |
|
State
Message containing a state for a SPR. |
|
Stop
Message containing a stop message, used inside KREML. |
|
Unknown
Unknown message type. |
|
Update
Message containing an update message, used inside KREML. |
|
| Method Summary | |
|---|---|
static MessageType |
fromId(int id)
Creates a message type out of the given id. |
int |
getId()
Gets the id of the message type. |
static MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MessageType[] |
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 MessageType Error
public static final MessageType SPR
public static final MessageType SSR
public static final MessageType State
public static final MessageType CmdAnswer
public static final MessageType Command
public static final MessageType CompoundIOConfig
public static final MessageType CompoundIOValues
public static final MessageType Event
public static final MessageType List
public static final MessageType ReturnState
public static final MessageType Update
public static final MessageType Stop
public static final MessageType KeepAlive
public static final MessageType Register
public static final MessageType CompoundRequest
public static final MessageType CompoundReply
public static final MessageType CompoundEvent
public static final MessageType Unknown
| Method Detail |
|---|
public static MessageType[] values()
for (MessageType c : MessageType.values()) System.out.println(c);
public static MessageType 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 nullpublic int getId()
public static MessageType fromId(int id)
id - The id of the message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||