|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OFGMessageType>
org.openflow.gui.net.protocol.OFGMessageType
public enum OFGMessageType
Enumerates what types of messages are in the OpenFlow GUI protocol.
| Enum Constant Summary | |
|---|---|
AUTH_REPLY
Authentication reply |
|
AUTH_REQUEST
Authentication request |
|
AUTH_STATUS
Information about whether a user has been authenticated |
|
DISCONNECT
Disconnection message |
|
ECHO_REPLY
reply to an echo request (keep-alive) |
|
ECHO_REQUEST
request for an echo reply (keep-alive) |
|
FLOWS_ADD
List of flows to add. |
|
FLOWS_DELETE
List of flows to delete. |
|
FLOWS_REQUEST
Query for flows |
|
LINKS_ADD
Reply with list of links added. |
|
LINKS_DELETE
Reply with list of links deleted. |
|
LINKS_REQUEST
Query of links |
|
NODES_ADD
Reply with list of nodes added. |
|
NODES_DELETE
Reply with list of nodes deleted. |
|
NODES_REQUEST
Query for nodes |
|
POLL_START
Tell the backend to start polling a message |
|
POLL_STOP
Tell the backend to stop polling a message |
|
STAT_REPLY
Aggregated statistics reply. |
|
STAT_REQUEST
Statistics request. |
|
| Method Summary | |
|---|---|
static OFGMessage |
decode(int len,
java.io.DataInput in)
Constructs the object representing the received message. |
byte |
getTypeID()
returns the special value used to identify this type |
static OFGMessageType |
typeValToMessageType(byte typeID)
Returns the OFGMessageType constant associated with typeID, if any |
static OFGMessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OFGMessageType[] |
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 OFGMessageType DISCONNECT
public static final OFGMessageType AUTH_REQUEST
public static final OFGMessageType AUTH_REPLY
public static final OFGMessageType AUTH_STATUS
public static final OFGMessageType ECHO_REQUEST
public static final OFGMessageType ECHO_REPLY
public static final OFGMessageType POLL_START
public static final OFGMessageType POLL_STOP
public static final OFGMessageType NODES_REQUEST
public static final OFGMessageType NODES_ADD
public static final OFGMessageType NODES_DELETE
public static final OFGMessageType LINKS_REQUEST
public static final OFGMessageType LINKS_ADD
public static final OFGMessageType LINKS_DELETE
public static final OFGMessageType FLOWS_REQUEST
public static final OFGMessageType FLOWS_ADD
public static final OFGMessageType FLOWS_DELETE
public static final OFGMessageType STAT_REQUEST
public static final OFGMessageType STAT_REPLY
| Method Detail |
|---|
public static OFGMessageType[] values()
for (OFGMessageType c : OFGMessageType.values()) System.out.println(c);
public static OFGMessageType 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 nullpublic byte getTypeID()
public static OFGMessageType typeValToMessageType(byte typeID)
public static OFGMessage decode(int len,
java.io.DataInput in)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||