Class TransportCandidate.Protocol
java.lang.Object
org.jivesoftware.smackx.jingleold.nat.TransportCandidate.Protocol
- Enclosing class:
- TransportCandidate
Type-safe enum for the transportElement protocol.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TransportCandidate.Protocol
static final TransportCandidate.Protocol
static final TransportCandidate.Protocol
static final TransportCandidate.Protocol
static final TransportCandidate.Protocol
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static TransportCandidate.Protocol
fromString
(String value) Returns the Protocol constant associated with the String value.int
hashCode()
boolean
isNull()
Return true if the protocol is not valid.toString()
-
Field Details
-
UDP
-
TCP
-
TCPACT
-
TCPPASS
-
SSLTCP
-
-
Constructor Details
-
Protocol
-
-
Method Details
-
toString
-
fromString
Returns the Protocol constant associated with the String value.- Parameters:
value
- the input String.- Returns:
- the protocol.
-
equals
-
hashCode
-
isNull
Return true if the protocol is not valid.- Returns:
- true if the protocol is null
-