protected static enum MessageClient.SocketFactoryType extends java.lang.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(java.lang.String code) |
java.lang.String |
getCode() |
java.lang.String |
getDescription() |
int |
getId() |
java.lang.String |
toString() |
static MessageClient.SocketFactoryType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static MessageClient.SocketFactoryType findBy(int id)
public static MessageClient.SocketFactoryType findBy(java.lang.String code)
public java.lang.String getCode()
public java.lang.String getDescription()
public int getId()
public java.lang.String toString()
toString in class java.lang.Enum<MessageClient.SocketFactoryType>Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.