public static enum ConnectorConfig.Protocol extends Enum<ConnectorConfig.Protocol>
Enum Constant and Description |
---|
DIFFUSION_HTTP_LONG_POLL
Diffusion client using the HTTP long polling transport.
|
DIFFUSION_WEBSOCKET
Diffusion client using the WebSocket transport.
|
MQTT_TCP
MQTT client using the TCP/IP network transport.
|
MQTT_WEBSOCKET
MQTT client using the WebSocket network transport.
|
Modifier and Type | Method and Description |
---|---|
static ConnectorConfig.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectorConfig.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectorConfig.Protocol DIFFUSION_WEBSOCKET
public static final ConnectorConfig.Protocol DIFFUSION_HTTP_LONG_POLL
public static final ConnectorConfig.Protocol MQTT_TCP
public static final ConnectorConfig.Protocol MQTT_WEBSOCKET
public static ConnectorConfig.Protocol[] values()
for (ConnectorConfig.Protocol c : ConnectorConfig.Protocol.values()) System.out.println(c);
public static ConnectorConfig.Protocol 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 nullCopyright © 2022 Push Technology Ltd. All Rights Reserved.