|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NameserverRetVal>
com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.NameserverRetVal
public enum NameserverRetVal
Definition of possible Nameserver return value codes.
| Enum Constant Summary | |
|---|---|
NS_ERROR_CANNOT_REGISTER_A_CLIENT_AS_A_CONNECTION
A client cannot register a connection (server name). |
|
NS_ERROR_COMMUNICATION_TYPE_MISMATCH_AT_CLIENT_REQUEST
The client type of the requester does not match the server type of the connection. |
|
NS_ERROR_CONNECTION_ALREADY_REGISTERED
The connection (server name) is already registered. |
|
NS_ERROR_CONNECTION_NOT_REGISTERED
The connection name which was referred by the request is not registered at the nameserver. |
|
NS_ERROR_MAX_NUM_CLIENTS_REACHED
The Server cannot handle more clients. |
|
NS_ERROR_NO_COMMON_MEDIUM
Nameserver could not find a matching medium for communication. |
|
NS_ERROR_SERVER_DOESNT_SUPPORT_ANY_MEDIA
Can not register servers that do not support any media. |
|
NS_ERROR_SERVER_LOSS
Server does not exist any more. |
|
NS_ERROR_SERVGER_ALREADY_BUILDING
Server type wants to get media type but should already create a medium. |
|
NS_ERROR_UNKNOWN_COMMUNICATION_TYPE
Communication type is unknown. |
|
NS_ERROR_UNKNOWN_REQUEST_RECEIVED
Unknown request type received. |
|
NS_INFO_CONNECTION_NOT_REGISTERED
The requested connection is not registered at nameserver. |
|
NS_SUCCESS
Request was handled successfully. |
|
| Method Summary | |
|---|---|
int |
getId()
Gets the id of the command type. |
static NameserverRetVal |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NameserverRetVal[] |
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 NameserverRetVal NS_INFO_CONNECTION_NOT_REGISTERED
public static final NameserverRetVal NS_SUCCESS
public static final NameserverRetVal NS_ERROR_UNKNOWN_REQUEST_RECEIVED
public static final NameserverRetVal NS_ERROR_CONNECTION_NOT_REGISTERED
public static final NameserverRetVal NS_ERROR_CANNOT_REGISTER_A_CLIENT_AS_A_CONNECTION
public static final NameserverRetVal NS_ERROR_UNKNOWN_COMMUNICATION_TYPE
public static final NameserverRetVal NS_ERROR_CONNECTION_ALREADY_REGISTERED
public static final NameserverRetVal NS_ERROR_COMMUNICATION_TYPE_MISMATCH_AT_CLIENT_REQUEST
public static final NameserverRetVal NS_ERROR_MAX_NUM_CLIENTS_REACHED
public static final NameserverRetVal NS_ERROR_NO_COMMON_MEDIUM
public static final NameserverRetVal NS_ERROR_SERVER_LOSS
public static final NameserverRetVal NS_ERROR_SERVER_DOESNT_SUPPORT_ANY_MEDIA
public static final NameserverRetVal NS_ERROR_SERVGER_ALREADY_BUILDING
| Method Detail |
|---|
public static NameserverRetVal[] values()
for (NameserverRetVal c : NameserverRetVal.values()) System.out.println(c);
public static NameserverRetVal 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||