public enum TransportType extends Enum<TransportType>
| Enum Constant and Description |
|---|
AMQP
AMQP over TCP.
|
AMQP_WEB_SOCKETS
AMQP over Web Sockets.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static TransportType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportType AMQP
public static final TransportType AMQP_WEB_SOCKETS
public static TransportType[] values()
for (TransportType c : TransportType.values()) System.out.println(c);
public static TransportType 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 String toString()
toString in class Enum<TransportType>Copyright © 2019 Microsoft Corporation. All rights reserved.