|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ChannelLifetime>
com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.ChannelLifetime
public enum ChannelLifetime
| Enum Constant Summary | |
|---|---|
INVALID_LIFETIME_VALUE
If unknown value. |
|
ONESHOOT
Server channel will be invalidated after accept. |
|
RESIDENT
server channel will be kept after accept. |
|
| Method Summary | |
|---|---|
static ChannelLifetime |
fromId(int id)
Creates a lifetime out of a given id. |
int |
getId()
Gets the ID. |
void |
setId(int id)
Sets the ID. |
static ChannelLifetime |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ChannelLifetime[] |
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 ChannelLifetime ONESHOOT
public static final ChannelLifetime RESIDENT
public static final ChannelLifetime INVALID_LIFETIME_VALUE
| Method Detail |
|---|
public static ChannelLifetime[] values()
for (ChannelLifetime c : ChannelLifetime.values()) System.out.println(c);
public static ChannelLifetime 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 void setId(int id)
id - the ID to setpublic static ChannelLifetime fromId(int id)
id - The id of the ChannelLifetime.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||