public interface IOFHandler
Modifier and Type | Interface and Description |
---|---|
static class |
IOFHandler.Role
The role of the controller as used by the OF 1.2 and OVS failover and
load-balancing mechanism.
|
Modifier and Type | Method and Description |
---|---|
void |
addModule(OFModule module) |
void |
addSwitch(long id,
IOFSwitch sw) |
java.lang.String |
getConcatenatedModuleNames() |
OFModel[] |
getModels() |
java.lang.String[] |
getModuleNames() |
java.util.Collection<OFModule> |
getModules() |
OFProtocol |
getProtocol() |
IOFHandler.Role |
getRole()
Get the current role of the controller
|
IOFSwitch |
getSwitch(long id) |
java.util.Collection<IOFSwitch> |
getSwitches() |
java.util.Set<java.lang.Long> |
getSwitchIdentifiers()
return the switch identifiers.
|
boolean |
handleConnectedEvent(Connection conn) |
boolean |
handleDisconnectEvent(Connection conn) |
boolean |
handleReadEvent(Connection conn,
java.util.List<org.openflow.protocol.OFMessage> msgs) |
void |
registerProtocolServer(IOFProtocolServer server) |
void |
scheduleTask(IOFTask task,
long after) |
IOFHandler.Role getRole()
java.util.Set<java.lang.Long> getSwitchIdentifiers()
java.util.Collection<IOFSwitch> getSwitches()
IOFSwitch getSwitch(long id)
void addSwitch(long id, IOFSwitch sw)
OFProtocol getProtocol()
void registerProtocolServer(IOFProtocolServer server)
void scheduleTask(IOFTask task, long after)
boolean handleReadEvent(Connection conn, java.util.List<org.openflow.protocol.OFMessage> msgs)
boolean handleDisconnectEvent(Connection conn)
boolean handleConnectedEvent(Connection conn)
void addModule(OFModule module)
java.util.Collection<OFModule> getModules()
OFModel[] getModels()
java.lang.String getConcatenatedModuleNames()
java.lang.String[] getModuleNames()