|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.floodlightcontroller.devicemanager.internal.DeviceManagerImpl.HAListenerDelegate
protected class DeviceManagerImpl.HAListenerDelegate
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.floodlightcontroller.core.IListener |
---|
IListener.Command |
Constructor Summary | |
---|---|
protected |
DeviceManagerImpl.HAListenerDelegate()
|
Method Summary | |
---|---|
void |
controllerNodeIPsChanged(java.util.Map<java.lang.String,java.lang.String> curControllerNodeIPs,
java.util.Map<java.lang.String,java.lang.String> addedControllerNodeIPs,
java.util.Map<java.lang.String,java.lang.String> removedControllerNodeIPs)
Gets called when the IP addresses of the controller nodes in the controller cluster change. |
java.lang.String |
getName()
The name assigned to this listener |
boolean |
isCallbackOrderingPostreq(HAListenerTypeMarker type,
java.lang.String name)
Check if the module called name is a callback ordering post-requisite for this module. |
boolean |
isCallbackOrderingPrereq(HAListenerTypeMarker type,
java.lang.String name)
Check if the module called name is a callback ordering prerequisite for this module. |
void |
transitionToMaster()
This notification is fired if the controller's initial role was SLAVE and the controller is now transitioning to MASTER. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DeviceManagerImpl.HAListenerDelegate()
Method Detail |
---|
public void transitionToMaster()
IHAListener
transitionToMaster
in interface IHAListener
public void controllerNodeIPsChanged(java.util.Map<java.lang.String,java.lang.String> curControllerNodeIPs, java.util.Map<java.lang.String,java.lang.String> addedControllerNodeIPs, java.util.Map<java.lang.String,java.lang.String> removedControllerNodeIPs)
IHAListener
controllerNodeIPsChanged
in interface IHAListener
curControllerNodeIPs
- The current mapping of controller IDs to IPaddedControllerNodeIPs
- These IPs were added since the last updateremovedControllerNodeIPs
- These IPs were removed since the last updatepublic java.lang.String getName()
IListener
getName
in interface IListener<HAListenerTypeMarker>
public boolean isCallbackOrderingPrereq(HAListenerTypeMarker type, java.lang.String name)
IListener
isCallbackOrderingPrereq
in interface IListener<HAListenerTypeMarker>
type
- the object type to which this appliesname
- the name of the module
public boolean isCallbackOrderingPostreq(HAListenerTypeMarker type, java.lang.String name)
IListener
isCallbackOrderingPostreq
in interface IListener<HAListenerTypeMarker>
type
- the object type to which this appliesname
- the name of the module
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |