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
FieldsModifier and TypeFieldDescriptionstatic final TransportCandidate.Protocolstatic final TransportCandidate.Protocolstatic final TransportCandidate.Protocolstatic final TransportCandidate.Protocolstatic final TransportCandidate.Protocol -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TransportCandidate.ProtocolfromString(String value) Returns the Protocol constant associated with the String value.inthashCode()booleanisNull()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
-