com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib
Enum CommandType

java.lang.Object
  extended by java.lang.Enum<CommandType>
      extended by com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.CommandType
All Implemented Interfaces:
Serializable, Comparable<CommandType>

public enum CommandType
extends Enum<CommandType>

The command type defines the possible commands of request type 'CONTROL_COMAND'.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Enum Constant Summary
GetConnectionInfo
          Get the connection info from nameserver.
NameserverPrintConnections
          Let the nameserver print all connections.
PingNameserver
          Ping the nameserver.
StopNameserver
          Stops the nameserver.
 
Method Summary
 int getId()
          Gets the id of the command type.
static CommandType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CommandType[] 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

StopNameserver

public static final CommandType StopNameserver
Stops the nameserver.


PingNameserver

public static final CommandType PingNameserver
Ping the nameserver.


NameserverPrintConnections

public static final CommandType NameserverPrintConnections
Let the nameserver print all connections.


GetConnectionInfo

public static final CommandType GetConnectionInfo
Get the connection info from nameserver.

Method Detail

values

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

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

valueOf

public static CommandType 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

getId

public int getId()
Gets the id of the command type.

Returns:
The id of the command type.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.