public enum EventChannel extends java.lang.Enum<EventChannel>
Enum Constant and Description |
---|
DHTRECEIVE |
DHTSEND |
LOCALINDEXING |
LOCALSEARCH |
PEERNEWS |
PROXY |
REMOTEINDEXING |
REMOTESEARCH |
TEST |
Modifier and Type | Field and Description |
---|---|
private static java.util.concurrent.ConcurrentMap<EventChannel,RSSFeed> |
channels
the following static channels object is used to organize a storage array for RSS feeds
|
static java.util.Set<EventChannel> |
privateChannels
the following private channels are declared to prevent that an access to the feed servlet
gets results from news channels that are not for the public
|
Modifier and Type | Method and Description |
---|---|
static RSSFeed |
channels(EventChannel channel) |
static EventChannel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventChannel TEST
public static final EventChannel PEERNEWS
public static final EventChannel REMOTESEARCH
public static final EventChannel LOCALSEARCH
public static final EventChannel REMOTEINDEXING
public static final EventChannel LOCALINDEXING
public static final EventChannel DHTRECEIVE
public static final EventChannel DHTSEND
public static final EventChannel PROXY
public static final java.util.Set<EventChannel> privateChannels
private static final java.util.concurrent.ConcurrentMap<EventChannel,RSSFeed> channels
public static EventChannel[] values()
for (EventChannel c : EventChannel.values()) System.out.println(c);
public static EventChannel 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 RSSFeed channels(EventChannel channel)