protected static enum MessageClient.SocketFactoryType extends Enum<MessageClient.SocketFactoryType>
| Enum Constant and Description |
|---|
NEW_SOCKET |
POOLED_SOCKET |
| Modifier and Type | Method and Description |
|---|---|
static MessageClient.SocketFactoryType |
findBy(int id) |
static MessageClient.SocketFactoryType |
findBy(String code) |
String |
getCode() |
String |
getDescription() |
int |
getId() |
String |
toString() |
static MessageClient.SocketFactoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageClient.SocketFactoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageClient.SocketFactoryType NEW_SOCKET
public static final MessageClient.SocketFactoryType POOLED_SOCKET
public static MessageClient.SocketFactoryType[] values()
for (MessageClient.SocketFactoryType c : MessageClient.SocketFactoryType.values()) System.out.println(c);
public static MessageClient.SocketFactoryType 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 static MessageClient.SocketFactoryType findBy(int id)
public static MessageClient.SocketFactoryType findBy(String code)
public String getCode()
public String getDescription()
public int getId()
public String toString()
toString in class Enum<MessageClient.SocketFactoryType>Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.