The Diffusion Publisher API is deprecated and will be removed in a future release.
@Deprecated public enum ConnectionCategory extends Enum<ConnectionCategory>
A ConnectionType
can belong to zero or more categories.
Enum Constant and Description |
---|
BROWSER
Deprecated.
Browser connections.
|
CLIENT
Deprecated.
Client connections.
|
HTTP
Deprecated.
HTTP Client connections.
|
MOBILE
Deprecated.
Mobile Client connections.
|
WEBSOCKET
Deprecated.
Web Socket Client connections.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Deprecated.
Returns a text display name for the category.
|
String |
toString()
Deprecated.
|
static ConnectionCategory |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ConnectionCategory[] |
values()
Deprecated.
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 BROWSER
Connections that are originate from a browser.
public static final ConnectionCategory MOBILE
public static final ConnectionCategory HTTP
public static final ConnectionCategory WEBSOCKET
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 © 2020 Push Technology Ltd. All Rights Reserved.