public enum AmqpTransportType extends Enum<AmqpTransportType>
| Enum Constant and Description |
|---|
AMQP
AMQP over TCP.
|
AMQP_WEB_SOCKETS
AMQP over Web Sockets.
|
| Modifier and Type | Method and Description |
|---|---|
static AmqpTransportType |
fromString(String value)
Creates an TransportType from its display value.
|
String |
toString() |
static AmqpTransportType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AmqpTransportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmqpTransportType AMQP
public static final AmqpTransportType AMQP_WEB_SOCKETS
public static AmqpTransportType[] values()
public static AmqpTransportType 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<AmqpTransportType>public static AmqpTransportType fromString(String value)
value - The string value of the TransportType.IllegalArgumentException - If a TransportType cannot be parsed from the string value.Copyright © 2020 Microsoft Corporation. All rights reserved.