|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<UnlistenEventListener.Scope>
de.novanic.eventservice.client.event.listener.unlisten.UnlistenEventListener.Scope
public static enum UnlistenEventListener.Scope
Scopes for listening to UnlistenEvent instances.
See the various scopes (LOCAL,
TIMEOUT and
UNLISTEN) for the according description.
| Enum Constant Summary | |
|---|---|
LOCAL
An UnlistenEventListener registered with the local scope
does only recognize local unlisten events for example caused by local timeouts or a lost connection to the server side. |
|
TIMEOUT
An UnlistenEventListener registered with the timeout scope
does recognize local unlisten events (for example caused by local timeouts or a lost connection to the server side) and
unlisten events of other users / clients caused by a connection timeout of the specified user / client. |
|
UNLISTEN
An UnlistenEventListener registered with the unlisten scope
does recognize all unlisten events: Local unlisten events (for example caused by local timeouts or a lost connection to the server side),
unlisten events of other users / clients caused by a timeout and domain unlisten events of other users / clients for
example caused by removing a listener for a domain. |
|
| Method Summary | |
|---|---|
static UnlistenEventListener.Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static UnlistenEventListener.Scope[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final UnlistenEventListener.Scope LOCAL
UnlistenEventListener registered with the local scope
does only recognize local unlisten events for example caused by local timeouts or a lost connection to the server side.
Therefore it isn't necessary to register it to the server side, but unlisten events of other users / clients
can't be get with the local scope.
public static final UnlistenEventListener.Scope TIMEOUT
UnlistenEventListener registered with the timeout scope
does recognize local unlisten events (for example caused by local timeouts or a lost connection to the server side) and
unlisten events of other users / clients caused by a connection timeout of the specified user / client.
public static final UnlistenEventListener.Scope UNLISTEN
UnlistenEventListener registered with the unlisten scope
does recognize all unlisten events: Local unlisten events (for example caused by local timeouts or a lost connection to the server side),
unlisten events of other users / clients caused by a timeout and domain unlisten events of other users / clients for
example caused by removing a listener for a domain.
| Method Detail |
|---|
public static final UnlistenEventListener.Scope[] values()
for(UnlistenEventListener.Scope c : UnlistenEventListener.Scope.values())
System.out.println(c);
public static UnlistenEventListener.Scope 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 name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||