org.csapi.jr.se.dsc
Class DataSessionEventInfo

java.lang.Object
  |
  +--org.csapi.jr.se.dsc.DataSessionEventInfo
All Implemented Interfaces:
java.io.Serializable

public final class DataSessionEventInfo
extends java.lang.Object
implements java.io.Serializable

Defines the Sequence of Data Elements that specify the information returned to the application in a Data Session event notification.

See Also:
Serialized Form

Constructor Summary
DataSessionEventInfo()
          Creates a new DataSessionEventInfo instance.
DataSessionEventInfo(org.csapi.jr.se.Address _destinationAddress, org.csapi.jr.se.Address _originatingAddress, int _dataSessionEventName, org.csapi.jr.se.dsc.DataSessionMonitorMode _monitorMode, org.csapi.jr.se.DataSessionQosClass _qoSClass)
          Creates a new DataSessionEventInfo instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getDataSessionEventName()
          This method returns a dataSessionEventName.
 org.csapi.jr.se.Address getDestinationAddress()
          This method returns a destinationAddress.
 org.csapi.jr.se.dsc.DataSessionMonitorMode getMonitorMode()
          This method returns a monitorMode.
 org.csapi.jr.se.Address getOriginatingAddress()
          This method returns a originatingAddress.
 org.csapi.jr.se.DataSessionQosClass getQoSClass()
          This method returns a qoSClass.
 int hashCode()
          Returns a hashcode value for the object.
 void setDataSessionEventName(int dataSessionEventName)
          This method sets a dataSessionEventName.
 void setDestinationAddress(org.csapi.jr.se.Address destinationAddress)
          This method sets a destinationAddress.
 void setMonitorMode(org.csapi.jr.se.dsc.DataSessionMonitorMode monitorMode)
          This method sets a monitorMode.
 void setOriginatingAddress(org.csapi.jr.se.Address originatingAddress)
          This method sets a originatingAddress.
 void setQoSClass(org.csapi.jr.se.DataSessionQosClass qoSClass)
          This method sets a qoSClass.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSessionEventInfo

public DataSessionEventInfo()
Creates a new DataSessionEventInfo instance.


DataSessionEventInfo

public DataSessionEventInfo(org.csapi.jr.se.Address _destinationAddress,
                            org.csapi.jr.se.Address _originatingAddress,
                            int _dataSessionEventName,
                            org.csapi.jr.se.dsc.DataSessionMonitorMode _monitorMode,
                            org.csapi.jr.se.DataSessionQosClass _qoSClass)
Creates a new DataSessionEventInfo instance.

Parameters:
_destinationAddress - Defines the destination address for which the notification is reported.
_originatingAddress - Defines the origination address for which the notification is reported.
_dataSessionEventName - Name of the event(s)
_monitorMode - Defines the mode in which the Data Session is reporting the notification. Monitor mode P_DATA_SESSION_MONITOR_MODE_DO_NOT_MONITOR is not a legal value here.
_qoSClass - Defines the Quality of Service (QoS) class for the Data Session. QoSClass NULL is not a legal value when DataSessionEventName is set to P_EVENT_DSCS_QOS_CHANGED. For this particular event, the QoSClass defines the new QoS class effective after the change.
Method Detail

getDestinationAddress

public org.csapi.jr.se.Address getDestinationAddress()
This method returns a destinationAddress.

Returns:
a org.csapi.jr.se.Address value

getOriginatingAddress

public org.csapi.jr.se.Address getOriginatingAddress()
This method returns a originatingAddress.

Returns:
a org.csapi.jr.se.Address value

getDataSessionEventName

public int getDataSessionEventName()
This method returns a dataSessionEventName.

Returns:
a int value

getMonitorMode

public org.csapi.jr.se.dsc.DataSessionMonitorMode getMonitorMode()
This method returns a monitorMode.

Returns:
a org.csapi.jr.se.dsc.DataSessionMonitorMode value

getQoSClass

public org.csapi.jr.se.DataSessionQosClass getQoSClass()
This method returns a qoSClass.

Returns:
a org.csapi.jr.se.DataSessionQosClass value

setDestinationAddress

public void setDestinationAddress(org.csapi.jr.se.Address destinationAddress)
This method sets a destinationAddress.


setOriginatingAddress

public void setOriginatingAddress(org.csapi.jr.se.Address originatingAddress)
This method sets a originatingAddress.


setDataSessionEventName

public void setDataSessionEventName(int dataSessionEventName)
This method sets a dataSessionEventName.


setMonitorMode

public void setMonitorMode(org.csapi.jr.se.dsc.DataSessionMonitorMode monitorMode)
This method sets a monitorMode.


setQoSClass

public void setQoSClass(org.csapi.jr.se.DataSessionQosClass qoSClass)
This method sets a qoSClass.


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