|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<NetconfTransportEvent.EventType>
com.vhosting.netconf.transport.NetconfTransportEvent.EventType
public static enum NetconfTransportEvent.EventType
This enumeration lists all types of events that may belong to an Event.
Enum Constant Summary | |
---|---|
CONNECTION_CANNOT_BE_OPENED
The connection can not be opened. |
|
CONNECTION_CLOSED_BY_SERVER
The connection is closed by the server. |
|
CONNECTION_CLOSED_BY_USER
The connection is closed by user interaction. |
Method Summary | |
---|---|
static NetconfTransportEvent.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NetconfTransportEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 NetconfTransportEvent.EventType CONNECTION_CLOSED_BY_USER
public static final NetconfTransportEvent.EventType CONNECTION_CLOSED_BY_SERVER
NetconfTransportEvent.getTransportError()
,
NetconfTransportEvent.getTransportErrorException()
public static final NetconfTransportEvent.EventType CONNECTION_CANNOT_BE_OPENED
NetconfTransportEvent.getTransportError()
,
NetconfTransportEvent.getTransportErrorException()
Method Detail |
---|
public static NetconfTransportEvent.EventType[] values()
for (NetconfTransportEvent.EventType c : NetconfTransportEvent.EventType.values()) System.out.println(c);
public static NetconfTransportEvent.EventType 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
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |