public final class TransportProtocol extends ExpandableStringEnum<TransportProtocol>
Modifier and Type | Field and Description |
---|---|
static TransportProtocol |
ALL
Static value All for TransportProtocol.
|
static TransportProtocol |
TCP
Static value Tcp for TransportProtocol.
|
static TransportProtocol |
UDP
Static value Udp for TransportProtocol.
|
Constructor and Description |
---|
TransportProtocol() |
Modifier and Type | Method and Description |
---|---|
static TransportProtocol |
fromString(String name)
Creates or finds a TransportProtocol from its string representation.
|
static Collection<TransportProtocol> |
values() |
equals, fromString, hashCode, toString, values, withNameValue
public static final TransportProtocol UDP
public static final TransportProtocol TCP
public static final TransportProtocol ALL
public static TransportProtocol fromString(String name)
name
- a name to look forpublic static Collection<TransportProtocol> values()
Copyright © 2019. All rights reserved.