public enum TransportProtocolType extends Enum<TransportProtocolType>
| Enum Constant and Description |
|---|
TCP
Tcp transport protocol type.
|
UNIX_DOMAIN_SOCKET
Unix domain socket transport protocol type.
|
| Modifier and Type | Method and Description |
|---|---|
static TransportProtocolType |
getType(String name)
Gets type.
|
static TransportProtocolType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportProtocolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportProtocolType TCP
public static final TransportProtocolType UNIX_DOMAIN_SOCKET
public final String name
public static TransportProtocolType[] values()
for (TransportProtocolType c : TransportProtocolType.values()) System.out.println(c);
public static TransportProtocolType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TransportProtocolType getType(String name)
name - the nameCopyright © 2023 Seata. All rights reserved.