net.floodlightcontroller.devicemanager
Interface IDeviceListener

All Superinterfaces:
IListener<java.lang.String>

public interface IDeviceListener
extends IListener<java.lang.String>

Implementors of this interface can receive updates from DeviceManager about the state of devices under its control.

Author:
David Erickson (daviderickson@cs.stanford.edu)

Nested Class Summary
 
Nested classes/interfaces inherited from interface net.floodlightcontroller.core.IListener
IListener.Command
 
Method Summary
 void deviceAdded(IDevice device)
          Called when a new Device is found
 void deviceIPV4AddrChanged(IDevice device)
          Called when a network address has been added or remove from a device
 void deviceMoved(IDevice device)
          Called when a Device has moved to a new location on the network.
 void deviceRemoved(IDevice device)
          Called when a Device is removed, this typically occurs when the port the Device is attached to goes down, or the switch it is attached to is removed.
 void deviceVlanChanged(IDevice device)
          Called when a VLAN tag for the device has been added or removed
 
Methods inherited from interface net.floodlightcontroller.core.IListener
getName, isCallbackOrderingPostreq, isCallbackOrderingPrereq
 

Method Detail

deviceAdded

void deviceAdded(IDevice device)
Called when a new Device is found

Parameters:
device - the device that changed

deviceRemoved

void deviceRemoved(IDevice device)
Called when a Device is removed, this typically occurs when the port the Device is attached to goes down, or the switch it is attached to is removed.

Parameters:
device - the device that changed

deviceMoved

void deviceMoved(IDevice device)
Called when a Device has moved to a new location on the network. Note that either the switch or the port or both has changed.

Parameters:
device - the device that changed

deviceIPV4AddrChanged

void deviceIPV4AddrChanged(IDevice device)
Called when a network address has been added or remove from a device

Parameters:
device - the device that changed

deviceVlanChanged

void deviceVlanChanged(IDevice device)
Called when a VLAN tag for the device has been added or removed

Parameters:
device - the device that changed