public static enum TopicOrientedApplication.ChannelJoin extends Enum<TopicOrientedApplication.ChannelJoin>
ChannelJoinProvider
can specify.| Enum Constant and Description |
|---|
Default
Indicates that the provider has no opinion and will defer to the
default behavior of Hornet or other
ChannelJoinProviders
When no channel join behavior is otherwise specified Hornet will join
a channel if there is EventHandler for a message type mapped to it in
a service definition. |
Join
Indicates that a channel should be joined even if there are
no message handlers present for types mapped to the channel.
|
NoJoin
Indicates that a channel should not be joined regardless of whether
or not there are message handlers present for types mapped to the
channel.
|
| Modifier and Type | Method and Description |
|---|---|
static TopicOrientedApplication.ChannelJoin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicOrientedApplication.ChannelJoin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicOrientedApplication.ChannelJoin Default
ChannelJoinProviders
When no channel join behavior is otherwise specified Hornet will join a channel if there is EventHandler for a message type mapped to it in a service definition.
public static final TopicOrientedApplication.ChannelJoin NoJoin
public static final TopicOrientedApplication.ChannelJoin Join
public static TopicOrientedApplication.ChannelJoin[] values()
for (TopicOrientedApplication.ChannelJoin c : TopicOrientedApplication.ChannelJoin.values()) System.out.println(c);
public static TopicOrientedApplication.ChannelJoin 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 N5 Technologies, Inc. All Rights Reserved.