org.mobicents.csapi.jr.slee.cc.mpccs
Class SuperviseResEvent

java.lang.Object
  extended by org.mobicents.csapi.jr.slee.ResourceEvent
      extended by org.mobicents.csapi.jr.slee.cc.mpccs.SuperviseResEvent
All Implemented Interfaces:
java.io.Serializable

public class SuperviseResEvent
extends ResourceEvent

This asynchronous event reports a call leg supervision event to the application when it has indicated its interest in this kind of event. It is also called when the connection to a party is terminated before the supervision event occurs.

See Also:
Serialized Form

Constructor Summary
SuperviseResEvent(TpServiceIdentifier tpServiceIdentifier, TpMultiPartyCallIdentifier tpMultiPartyCallIdentifier, int report, int usedTime)
          Constructor for SuperviseResEvent
SuperviseResEvent(TpServiceIdentifier tpServiceIdentifier, TpMultiPartyCallIdentifier tpMultiPartyCallIdentifier, TpCallLegIdentifier tpCallLegIdentifier, int report, int usedTime)
          Constructor for SuperviseResEvent
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getReport()
          Returns the report
 TpCallLegIdentifier getTpCallLegIdentifier()
          Returns the tpCallLegIdentifier
 TpMultiPartyCallIdentifier getTpMultiPartyCallIdentifier()
          Returns the tpMultiPartyCallIdentifier
 int getUsedTime()
          Returns the usedTime
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class org.mobicents.csapi.jr.slee.ResourceEvent
getService
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuperviseResEvent

public SuperviseResEvent(TpServiceIdentifier tpServiceIdentifier,
                         TpMultiPartyCallIdentifier tpMultiPartyCallIdentifier,
                         TpCallLegIdentifier tpCallLegIdentifier,
                         int report,
                         int usedTime)
Constructor for SuperviseResEvent

Parameters:
tpServiceIdentifier - the service this event is related to

SuperviseResEvent

public SuperviseResEvent(TpServiceIdentifier tpServiceIdentifier,
                         TpMultiPartyCallIdentifier tpMultiPartyCallIdentifier,
                         int report,
                         int usedTime)
Constructor for SuperviseResEvent

Parameters:
tpServiceIdentifier - the service this event is related to
Method Detail

getTpMultiPartyCallIdentifier

public TpMultiPartyCallIdentifier getTpMultiPartyCallIdentifier()
Returns the tpMultiPartyCallIdentifier


getTpCallLegIdentifier

public TpCallLegIdentifier getTpCallLegIdentifier()
Returns the tpCallLegIdentifier


getReport

public int getReport()
Returns the report


getUsedTime

public int getUsedTime()
Returns the usedTime


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object


Copyright © 2008. All Rights Reserved.