public static class TransportCandidate.Protocol extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static TransportCandidate.Protocol |
SSLTCP |
static TransportCandidate.Protocol |
TCP |
static TransportCandidate.Protocol |
TCPACT |
static TransportCandidate.Protocol |
TCPPASS |
static TransportCandidate.Protocol |
UDP |
Constructor and Description |
---|
Protocol(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static TransportCandidate.Protocol |
fromString(java.lang.String value)
Returns the Protocol constant associated with the String value.
|
int |
hashCode() |
boolean |
isNull()
Return true if the protocol is not valid.
|
java.lang.String |
toString() |
public static final TransportCandidate.Protocol UDP
public static final TransportCandidate.Protocol TCP
public static final TransportCandidate.Protocol TCPACT
public static final TransportCandidate.Protocol TCPPASS
public static final TransportCandidate.Protocol SSLTCP
public Protocol(java.lang.String value)
public java.lang.String toString()
toString
in class java.lang.Object
public static TransportCandidate.Protocol fromString(java.lang.String value)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isNull()