public static enum ClientSummary.TransportType extends Enum<ClientSummary.TransportType>
Enum Constant and Description |
---|
HTTP_LONG_POLL
HTTP long polling transport.
|
OTHER
Transport type is not known to the local session, possibly because
the remote client is using a different version of Diffusion.
|
WEBSOCKET
WebSocket protocol.
|
Modifier and Type | Method and Description |
---|---|
static ClientSummary.TransportType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientSummary.TransportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientSummary.TransportType WEBSOCKET
public static final ClientSummary.TransportType HTTP_LONG_POLL
public static final ClientSummary.TransportType OTHER
public static ClientSummary.TransportType[] values()
for (ClientSummary.TransportType c : ClientSummary.TransportType.values()) System.out.println(c);
public static ClientSummary.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 nullCopyright © 2020 Push Technology Ltd. All Rights Reserved.