org.davic.net.ca
Class ModuleRemovedEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.davic.net.ca.CAEvent
          extended byorg.davic.net.ca.ModuleRemovedEvent
All Implemented Interfaces:
java.io.Serializable

public class ModuleRemovedEvent
extends CAEvent

This event informs that a CA module has been removed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ModuleRemovedEvent(int slotNumber, java.lang.Object caModuleManager)
          Constructor for the event
 
Method Summary
 int getSlotNumber()
          Returns the slot number of the slot where the module was removed from
 java.lang.Object getSource()
          Returns the CAModuleManager that is the source of the event
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModuleRemovedEvent

public ModuleRemovedEvent(int slotNumber,
                          java.lang.Object caModuleManager)
Constructor for the event

Parameters:
slotNumber - the slot number
caModuleManager - the CAModuleManager object that is the source of the event
Method Detail

getSlotNumber

public int getSlotNumber()
Returns the slot number of the slot where the module was removed from

Returns:
the number of the slot from which the module was removed

getSource

public java.lang.Object getSource()
Returns the CAModuleManager that is the source of the event

Overrides:
getSource in class CAEvent