public static enum EFeed.FeedScope extends Enum<EFeed.FeedScope>
publish and
subscibe or
reply and ERequestFeed) match
and so may exchange messages.| Enum Constant and Description |
|---|
LOCAL_AND_REMOTE
This feed is matched by both local and remote feeds.
|
LOCAL_ONLY
This feed is matched only by other feeds within this
JVM.
|
REMOTE_ONLY
This feed is matched only by feeds on remote JVMs.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
supports(EClient.ClientLocation loc)
Returns
true if this scope supports the given
client location; false otherwise. |
String |
toString() |
static EFeed.FeedScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EFeed.FeedScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EFeed.FeedScope LOCAL_ONLY
public static final EFeed.FeedScope LOCAL_AND_REMOTE
public static final EFeed.FeedScope REMOTE_ONLY
public static EFeed.FeedScope[] values()
for (EFeed.FeedScope c : EFeed.FeedScope.values()) System.out.println(c);
public static EFeed.FeedScope 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 boolean supports(EClient.ClientLocation loc)
true if this scope supports the given
client location; false otherwise.loc - check this client location.true if client location is supported.public String toString()
toString in class Enum<EFeed.FeedScope>Copyright © 2019. All rights reserved.