Class TransportCandidate.Channel
java.lang.Object
org.jivesoftware.smackx.jingleold.nat.TransportCandidate.Channel
- Enclosing class:
TransportCandidate
Type-safe enum for the transportElement channel.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TransportCandidate.Channelstatic final TransportCandidate.Channel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TransportCandidate.ChannelfromString(String value) Returns the MediaChannel constant associated with the String value.inthashCode()booleanisNull()Return true if the channel is not valid.toString()
-
Field Details
-
MYRTPVOICE
-
MYRTCPVOICE
-
-
Constructor Details
-
Channel
-
-
Method Details
-
toString
-
fromString
Returns the MediaChannel constant associated with the String value.- Parameters:
value- the input String.- Returns:
- the channel.
-
equals
-
hashCode
public int hashCode() -
isNull
public boolean isNull()Return true if the channel is not valid.- Returns:
- true if the channel is null
-