Interface OpenFlowSwitchListener
-
public interface OpenFlowSwitchListenerAllows for providers interested in Switch events to be notified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidportChanged(Dpid dpid, org.projectfloodlight.openflow.protocol.OFPortStatus status)Notify that a port has changed.voidreceivedRoleReply(Dpid dpid, RoleState requested, RoleState response)Notify that a role imposed on a switch failed to take hold.voidswitchAdded(Dpid dpid)Notify that the switch was added.voidswitchChanged(Dpid dpid)Notify that the switch has changed in some way.voidswitchRemoved(Dpid dpid)Notify that the switch was removed.
-
-
-
Method Detail
-
switchAdded
void switchAdded(Dpid dpid)
Notify that the switch was added.- Parameters:
dpid- the switch where the event occurred
-
switchRemoved
void switchRemoved(Dpid dpid)
Notify that the switch was removed.- Parameters:
dpid- the switch where the event occurred.
-
switchChanged
void switchChanged(Dpid dpid)
Notify that the switch has changed in some way.- Parameters:
dpid- the switch that changed
-
portChanged
void portChanged(Dpid dpid, org.projectfloodlight.openflow.protocol.OFPortStatus status)
Notify that a port has changed.- Parameters:
dpid- the switch on which the change happened.status- the new state of the port.
-
-