cvm.ncb.handlers
Class NCBEventObjectManager

java.lang.Object
  extended by cvm.ncb.handlers.NCBEventObjectManager

public class NCBEventObjectManager
extends java.lang.Object

This class handles the notification of events to the regisetered listeners. This is class specifically signals events to the NCB layer listener.

Author:
fhern006_1

Method Summary
 void addDownListener(java.util.EventListener listener)
           
 void addUpListener(Uses_Listener listener)
           
static NCBEventObjectManager Instance()
          Implementation of the Instance method as in the singleton design pattern.
 void notifiySchemaReceivedEvent(java.lang.String schema)
           
 void notifyConnectionCreatedReply_Event(boolean notifyConnectionReply)
          This methods notifies UCM of a ConnectionCreatedReply.
 void notifyConnectionDeclinedReply_Event(boolean notifyConnectionReply)
          This methods notifies UCM of a ConnectionDeclineReply.
 void notifyControlSchemaNotSentException_Event()
          Notify SE of a ControlSchemaNotSentException
 void notifyDataSchemaNotSentException_Event()
          Notify SE of a DataSchemaNotSentException
 void notifyLoginExceptionEvent()
          Notify SE of a loginException
 void notifyLoginReply(java.lang.Object contactlist)
          This method will notify UCM of a LoginReply.
 void notifyLogoffReply(boolean success)
          This method will notify UCM of a LogoffReply.
 void notifyMediaInitiatorEnableReply_Event(boolean partyRemoved)
          This methods notifies UCM of a MediaInitiatorEnableReply.
 void notifyNoSessionException_Event(java.lang.String sID)
          Notify SE of a noSessionException
 void notifyPartyAddedReply(boolean partyAdded)
          This methods notifies UCM of a PartyAddedReply.
 void notifyPartyNotAddedException_Event(java.lang.String userID)
          Notify SE of a PartyNotAddedException
 void notifyPartyRemovedReply_Event(boolean partyRemoved)
          This methods notifies UCM of a PartyRemovedReply.
 void notifySchemaNotSavedException_Event()
          Notify SE of SchemaNotSavedException
 void notifySendSchemaReply_Event(boolean sendStatus)
          This method notifies UCM of a SendSchemaReply.
 void notifyUnavailableMedia_Event()
          Notify SE of UnavailableMedia
 void notifyUnrecognizedEvent()
           
 void notifyUserProfileCreatedEvent(UserProfile usrProfile)
          Event notification function.
 void removeUpListener(Uses_Listener listener)
          Removes an event from the list.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Instance

public static NCBEventObjectManager Instance()
Implementation of the Instance method as in the singleton design pattern.

Returns:
singleton instance of NCBEventObjectManager

addUpListener

public void addUpListener(Uses_Listener listener)

addDownListener

public void addDownListener(java.util.EventListener listener)

removeUpListener

public void removeUpListener(Uses_Listener listener)
Removes an event from the list.


notifyLoginReply

public void notifyLoginReply(java.lang.Object contactlist)
This method will notify UCM of a LoginReply.

Parameters:
contactlist -

notifyLogoffReply

public void notifyLogoffReply(boolean success)
This method will notify UCM of a LogoffReply.

Parameters:
success -

notifyPartyAddedReply

public void notifyPartyAddedReply(boolean partyAdded)
This methods notifies UCM of a PartyAddedReply.

Parameters:
partyAdded -

notifyPartyRemovedReply_Event

public void notifyPartyRemovedReply_Event(boolean partyRemoved)
This methods notifies UCM of a PartyRemovedReply.

Parameters:
partyRemoved -

notifyMediaInitiatorEnableReply_Event

public void notifyMediaInitiatorEnableReply_Event(boolean partyRemoved)
This methods notifies UCM of a MediaInitiatorEnableReply.

Parameters:
partyRemoved -

notifySendSchemaReply_Event

public void notifySendSchemaReply_Event(boolean sendStatus)
This method notifies UCM of a SendSchemaReply.

Parameters:
sendStatus -

notifyConnectionCreatedReply_Event

public void notifyConnectionCreatedReply_Event(boolean notifyConnectionReply)
This methods notifies UCM of a ConnectionCreatedReply.

Parameters:
notifyConnectionReply -

notifyConnectionDeclinedReply_Event

public void notifyConnectionDeclinedReply_Event(boolean notifyConnectionReply)
This methods notifies UCM of a ConnectionDeclineReply.

Parameters:
notifyConnectionReply -

notifyUserProfileCreatedEvent

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

Parameters:
usrProfile -

notifyLoginExceptionEvent

public void notifyLoginExceptionEvent()
Notify SE of a loginException


notifyNoSessionException_Event

public void notifyNoSessionException_Event(java.lang.String sID)
Notify SE of a noSessionException


notifyPartyNotAddedException_Event

public void notifyPartyNotAddedException_Event(java.lang.String userID)
Notify SE of a PartyNotAddedException


notifyDataSchemaNotSentException_Event

public void notifyDataSchemaNotSentException_Event()
Notify SE of a DataSchemaNotSentException


notifyControlSchemaNotSentException_Event

public void notifyControlSchemaNotSentException_Event()
Notify SE of a ControlSchemaNotSentException


notifyUnavailableMedia_Event

public void notifyUnavailableMedia_Event()
Notify SE of UnavailableMedia


notifySchemaNotSavedException_Event

public void notifySchemaNotSavedException_Event()
Notify SE of SchemaNotSavedException


notifiySchemaReceivedEvent

public void notifiySchemaReceivedEvent(java.lang.String schema)

notifyUnrecognizedEvent

public void notifyUnrecognizedEvent()