public enum MessageSourceType extends Enum<MessageSourceType>
MessageSource
.Enum Constant and Description |
---|
SERVER
Deprecated.
Since 5.9
Server to server connections will be removed in a future release. |
TOPIC_CLIENT
The message source is a
TopicClient . |
Modifier and Type | Method and Description |
---|---|
static MessageSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageSourceType TOPIC_CLIENT
TopicClient
.@Deprecated public static final MessageSourceType SERVER
Server to server connections will be removed in a future release.
ServerConnection
.public static MessageSourceType[] values()
for (MessageSourceType c : MessageSourceType.values()) System.out.println(c);
public static MessageSourceType 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 © 2016 Push Technology Ltd. All Rights Reserved.