public enum ConnectionCategory extends Enum<ConnectionCategory>
A ConnectionType
can belong to zero or more categories.
Enum Constant and Description |
---|
BROWSER
Browser connections.
|
CLIENT
Client connections.
|
COMET
HTTP Comet client connections.
|
HTTP
HTTP Client connections.
|
IFRAME_STREAMING
IFrame streaming connections.
|
MOBILE
Mobile Client connections.
|
PLUGIN
Plugin Client connections.
|
PUBLISHER
Publisher Client Connections.
|
SOCKET
TCP Socket Connections.
|
UDP
Deprecated.
Diffusion over UDP has never been supported. This value will be removed in the future.
|
WEBSOCKET
Web Socket Client connections.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Returns a text display name for the category.
|
String |
toString() |
static ConnectionCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionCategory CLIENT
Over the edge connections.
public static final ConnectionCategory PUBLISHER
Server to server connections.
public static final ConnectionCategory SOCKET
Diffusion Protocol over TCP.
public static final ConnectionCategory BROWSER
Connections that are originate from a browser.
public static final ConnectionCategory PLUGIN
Clients that need a third party plugin to work.
public static final ConnectionCategory MOBILE
public static final ConnectionCategory HTTP
public static final ConnectionCategory WEBSOCKET
public static final ConnectionCategory COMET
@Deprecated public static final ConnectionCategory UDP
public static final ConnectionCategory IFRAME_STREAMING
Messages are streamed to the client using HTTP 1.1 chunked transfer, wrapped in script tags.
public static ConnectionCategory[] values()
for (ConnectionCategory c : ConnectionCategory.values()) System.out.println(c);
public static ConnectionCategory 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 getDisplayName()
public String toString()
toString
in class Enum<ConnectionCategory>
Copyright © 2016 Push Technology Ltd. All Rights Reserved.