cvm.se.handlers
Class SEEventObjectManager

java.lang.Object
  extended by cvm.se.handlers.SEEventObjectManager

public class SEEventObjectManager
extends java.lang.Object

This class handles the firing of events for SE.

Author:
Frank Hernandez

Method Summary
 void addDownListener(java.util.EventListener listener)
           
 void addUpListener(Uses_Listener listener)
           
 void fireUpEvent(Handles_Event event)
          This function notifies every listener of the event.
static SEEventObjectManager Instance()
           
 void notifyKillProcessEvent(java.lang.String pID)
          Signals the event to kill a specific process.
 void notifyNegotiationEndEvent(java.lang.String pID)
          Signals the event that negotiation ended for a specific process.
 void notifySEKillSignal_Event(java.lang.String pID)
           
 void notifyUserProfileCreatedEvent(UserProfile usrProfile)
          Event notification function.
 void removeUpListener(Uses_Listener listener)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Instance

public static SEEventObjectManager Instance()

addUpListener

public void addUpListener(Uses_Listener listener)

addDownListener

public void addDownListener(java.util.EventListener listener)

removeUpListener

public void removeUpListener(Uses_Listener listener)

notifyUserProfileCreatedEvent

public void notifyUserProfileCreatedEvent(UserProfile usrProfile)
Event notification function. This function will fire the event to notify the SE.

Parameters:
usrProfile -

notifyKillProcessEvent

public void notifyKillProcessEvent(java.lang.String pID)
Signals the event to kill a specific process.

Parameters:
pID - Id of the process to kill.

notifySEKillSignal_Event

public void notifySEKillSignal_Event(java.lang.String pID)

notifyNegotiationEndEvent

public void notifyNegotiationEndEvent(java.lang.String pID)
Signals the event that negotiation ended for a specific process.

Parameters:
pID - Id of the process negotiation.

fireUpEvent

public void fireUpEvent(Handles_Event event)
This function notifies every listener of the event.

Parameters:
event -