|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jap.forward.JAPRoutingSettings.TransportMode
public static final class JAPRoutingSettings.TransportMode
This Class holds all supported Ways to establish an forwarding Connection.
It's also acts as an registry, for mapping the different transport Modes to the corresponding Transportidentifier.
Field Summary | |
---|---|
static JAPRoutingSettings.TransportMode |
LOCAL
Constant for Forwarding to ourself. |
private java.lang.String |
m_identifier
The Identifier for an Transportmode. |
static JAPRoutingSettings.TransportMode |
SKYPE
Constant for Transport over Skype |
static JAPRoutingSettings.TransportMode |
TCPIP
Constant for direkt Transport over TCP/IP |
static JAPRoutingSettings.TransportMode |
UNKNOWN
Constant for an Unknown Transportmode. |
Constructor Summary | |
---|---|
private |
JAPRoutingSettings.TransportMode(java.lang.String a_identifier)
New TransportMode for given identifier |
Method Summary | |
---|---|
static JAPRoutingSettings.TransportMode |
getByIdentifier(java.lang.String a_identifier)
Trys to map an given Identifier to an TransportMode. |
java.lang.String |
getIdentifier()
Gets the Identifier of an TransportMode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final JAPRoutingSettings.TransportMode SKYPE
public static final JAPRoutingSettings.TransportMode TCPIP
public static final JAPRoutingSettings.TransportMode LOCAL
public static final JAPRoutingSettings.TransportMode UNKNOWN
private java.lang.String m_identifier
This String is always intern.
String.intern()
Constructor Detail |
---|
private JAPRoutingSettings.TransportMode(java.lang.String a_identifier)
Method Detail |
---|
public java.lang.String getIdentifier()
String.intern()
public static JAPRoutingSettings.TransportMode getByIdentifier(java.lang.String a_identifier)
UNKNOWN
if none could be found.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |