public static enum AbstractLinkHandler.LinkHandlerStatus extends Enum<AbstractLinkHandler.LinkHandlerStatus>
Enum Constant and Description |
---|
CLOSED
All the cleaning phase have been completed no further state allowed
|
CLOSING
AbstractLinkHandler.stop() has been invoked so we are
terminating and we are going to execute
AbstractLinkHandler.afterRun() for cleaning up status and
resources |
INITIALIZING
During the constructor
|
RUNNING
We are the main loop of execution where we wait for message and we
handle it, and we are executing
AbstractLinkHandler.loopRun()
during each iteration |
STARTING
Thread containing is started we are executing
AbstractLinkHandler.beforeRun() During this phase we should complete the CONNECTION |
Modifier and Type | Method and Description |
---|---|
static AbstractLinkHandler.LinkHandlerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractLinkHandler.LinkHandlerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractLinkHandler.LinkHandlerStatus INITIALIZING
public static final AbstractLinkHandler.LinkHandlerStatus STARTING
AbstractLinkHandler.beforeRun()
public static final AbstractLinkHandler.LinkHandlerStatus RUNNING
AbstractLinkHandler.loopRun()
during each iterationpublic static final AbstractLinkHandler.LinkHandlerStatus CLOSING
AbstractLinkHandler.stop()
has been invoked so we are
terminating and we are going to execute
AbstractLinkHandler.afterRun()
for cleaning up status and
resourcespublic static final AbstractLinkHandler.LinkHandlerStatus CLOSED
public static AbstractLinkHandler.LinkHandlerStatus[] values()
for (AbstractLinkHandler.LinkHandlerStatus c : AbstractLinkHandler.LinkHandlerStatus.values()) System.out.println(c);
public static AbstractLinkHandler.LinkHandlerStatus 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 © 2018 universAAL Consortium. All rights reserved.