|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ClientLinkManagerEvent>
com.neeve.client.link.ClientLinkManagerEvent
public enum ClientLinkManagerEvent
Class containing client link manager event definitions.
This class contains event type and associated structure definitions for events dispatched by a client link manager.
Nested Class Summary | |
---|---|
static class |
ClientLinkManagerEvent.LinkOpCompleteEventData
Data object indicating the status of the completion of a link related operation. |
static class |
ClientLinkManagerEvent.LinkOpenCompleteEventData
Data object indicating the status of the completion of a link open operation. |
Enum Constant Summary | |
---|---|
LINK_OPEN_FAIL
Indicates that a link manager has failed to open a link. |
|
LINK_OPEN_SUCCESS
Indicates that a link manager has succesfully opened a link. |
|
LINK_PARSE_FAIL
Indicates that a link manager failed to parse a link descriptor. |
|
LINK_PARSE_SUCCESS
Indicates that a link manager has successfully parsed a link descriptor. |
|
OPEN_BEGIN
Indicates that a link manager has started the open process. |
|
OPEN_END
Indicates that a link manager open process has ended. |
Method Summary | |
---|---|
static ClientLinkManagerEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ClientLinkManagerEvent[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ClientLinkManagerEvent LINK_PARSE_SUCCESS
This event is dispatched by a link managr during instantiation
after it successfully parses a supplied link descriptor for syntactic
correcteness. The event data for this event is an instance of ClientLinkManagerEvent.LinkOpCompleteEventData
with the status field set to true and exception
field set to null.
public static final ClientLinkManagerEvent LINK_PARSE_FAIL
This event is dispatched by a link manager during instantiation
after it fails to parse a supplied link descriptor for syntactic
correctness. The event data for this event is an instance of ClientLinkManagerEvent.LinkOpCompleteEventData
with the status field set to false and the
exception field set to the reason for the failure.
public static final ClientLinkManagerEvent OPEN_BEGIN
This event is dispatched by a link manager on the start of the open process. The event data for this event is null.
public static final ClientLinkManagerEvent LINK_OPEN_SUCCESS
This event is dispatched by a link manager to indicate the
successful opening of a link. The event data for this event is
an instance of the ClientLinkManagerEvent.LinkOpenCompleteEventData
class with
the status field set to true and the exception field set to null.
public static final ClientLinkManagerEvent LINK_OPEN_FAIL
This event is dispatched by a link manager to indicate the failure
to open a link. The event data for this event is an instance of the
ClientLinkManagerEvent.LinkOpenCompleteEventData
class with the status field set to
false and the exception field set to the cause of the failure.
public static final ClientLinkManagerEvent OPEN_END
This event is dispatched by a link manager at the end of the open process. The event data for this event is null.
Method Detail |
---|
public static ClientLinkManagerEvent[] values()
for (ClientLinkManagerEvent c : ClientLinkManagerEvent.values()) System.out.println(c);
public static ClientLinkManagerEvent valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |