org.jivesoftware.smackx.jingle.nat
Class TransportCandidate.Channel

java.lang.Object
  extended by org.jivesoftware.smackx.jingle.nat.TransportCandidate.Channel
Enclosing class:
TransportCandidate

public static class TransportCandidate.Channel
extends java.lang.Object

Type-safe enum for the transportElement channel


Field Summary
static TransportCandidate.Channel MYRTCPVOICE
           
static TransportCandidate.Channel MYRTPVOICE
           
 
Constructor Summary
TransportCandidate.Channel(java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static TransportCandidate.Channel fromString(java.lang.String value)
          Returns the MediaChannel constant associated with the String value.
 boolean isNull()
          Return true if the channel is not valid.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MYRTPVOICE

public static final TransportCandidate.Channel MYRTPVOICE

MYRTCPVOICE

public static final TransportCandidate.Channel MYRTCPVOICE
Constructor Detail

TransportCandidate.Channel

public TransportCandidate.Channel(java.lang.String value)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

fromString

public static TransportCandidate.Channel fromString(java.lang.String value)
Returns the MediaChannel constant associated with the String value.


equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

isNull

public boolean isNull()
Return true if the channel is not valid.

Returns:
true if the channel is null