|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ConnectionType>
com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.ConnectionType
public enum ConnectionType
The connection type defined the possible connection types of a connection. Right now we support 6 different connection types.
| Enum Constant Summary | |
|---|---|
Client
Client connection: Counterpart for the server connection. |
|
MulticastClient
A MulticastClient only receives broadcast messages from a MulticastServer. |
|
MulticastServer
A MulticastServer sends broadcast messages to all known clients. |
|
MultiClient
MultiClient connection: Counterpart for the MultiServer connection. |
|
MultiServer
MutliServer has several connections to clients. |
|
Server
A server connection: A server has one connection to a single client. |
|
| Method Summary | |
|---|---|
abstract com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.ConnectionData |
createConnectionData(NameserverProxy ns,
String name)
Creates a connection data object. |
int |
getId()
Gets the id of the connection type. |
static ConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConnectionType[] |
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 ConnectionType Server
public static final ConnectionType Client
public static final ConnectionType MulticastServer
public static final ConnectionType MulticastClient
public static final ConnectionType MultiServer
public static final ConnectionType MultiClient
| Method Detail |
|---|
public static ConnectionType[] values()
for (ConnectionType c : ConnectionType.values()) System.out.println(c);
public static ConnectionType 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 abstract com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.ConnectionData createConnectionData(NameserverProxy ns,
String name)
ns - the nameserver.name - The name of the connection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||