|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NameserverRequestType>
com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.NameserverRequestType
public enum NameserverRequestType
Contains possible types of nameserver requests and responses.
| Enum Constant Summary | |
|---|---|
CLIENT_DISCONNECTED
This type has to be set when a client has disconnected from a server telling the nameserver to decrease the number of clients connected the the server of a communication channel. |
|
CLOSE_ACCEPT_TASK
Signalizes a accept task of a connection to close itself. |
|
CONTROL_COMMAND
This type has to be set when sending a control command to the nameserver. |
|
FALSE_TYPE
This type is set, if a Request is not valid. |
|
GET_CONNECTION
This type has to be set when asking the server to get the description of a communication channel. |
|
IS_REGISTERED
This type has to be set when the nameserver should be asked if a specified connection name is registered at the nameserver. |
|
REGISTER_CONNECTION
This type has to be set when asking the server to register a communication channel. |
|
SET_ADDRESS_REPLY
Set by the nameserver to confirm setting the server address of a server. |
|
SET_SERVER_ADDRESS
This type has to be set when telling the nameserver the address of the opend connection. |
|
UNREGISTER_CONNECTION
This type has to be set when asking the server to unregister a communication channel. |
|
| Method Summary | |
|---|---|
static NameserverRequestType |
fromId(int id)
Creats a nameserver request out of the given id. |
int |
getId()
Gets the id of the request type. |
static NameserverRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NameserverRequestType[] |
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 NameserverRequestType FALSE_TYPE
public static final NameserverRequestType CONTROL_COMMAND
public static final NameserverRequestType REGISTER_CONNECTION
public static final NameserverRequestType SET_SERVER_ADDRESS
public static final NameserverRequestType UNREGISTER_CONNECTION
public static final NameserverRequestType GET_CONNECTION
public static final NameserverRequestType CLIENT_DISCONNECTED
public static final NameserverRequestType IS_REGISTERED
public static final NameserverRequestType SET_ADDRESS_REPLY
public static final NameserverRequestType CLOSE_ACCEPT_TASK
| Method Detail |
|---|
public static NameserverRequestType[] values()
for (NameserverRequestType c : NameserverRequestType.values()) System.out.println(c);
public static NameserverRequestType 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 NameserverRequestType fromId(int id)
id - The id of the nameserver request.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||