public class OFMStateManager extends OFModule
| Modifier and Type | Field and Description |
|---|---|
private State |
state
Model of this module. initialized by
initialize(). |
controller| Constructor and Description |
|---|
OFMStateManager() |
| Modifier and Type | Method and Description |
|---|---|
OFModel[] |
getModels()
return the model object
state. |
protected boolean |
handleDisconnect(Connection conn)
Does nothing except for returning true.
|
protected boolean |
handleHandshakedEvent(Connection conn,
MessageContext context)
Does nothing except for returning true.
|
protected boolean |
handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing)
Does nothing except for returning true.
|
protected void |
initialize()
initialize the model object of this module.
|
getController, getModule, init, processDisconnect, processHandshakeFinished, processMessage, registerFilter, registerModuleprivate State state
initialize().protected void initialize()
initialize in class OFModuleprotected boolean handleHandshakedEvent(Connection conn, MessageContext context)
handleHandshakedEvent in class OFModuleconn - connection that the event has occurredcontext - message context for the handshaking messagesprotected boolean handleMessage(Connection conn, MessageContext context, org.openflow.protocol.OFMessage msg, java.util.List<org.openflow.protocol.OFMessage> outgoing)
handleMessage in class OFModuleconn - connection that the message has arrivedcontext - message context for the messagemsg - the actual message objectoutgoing - responses for the message arrived, which is filled by the handleMessage implementationprotected boolean handleDisconnect(Connection conn)
handleDisconnect in class OFModuleconn - connection that the event has occurred