org.csapi.jr.se.dsc
Class DataSessionEventCriteria

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

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

Defines the Sequence of Data Elements that specify the criteria for an event notification. Of the addresses only the Plan and the AddrString are used for the purpose of matching the notifications against the criteria.

See Also:
Serialized Form

Constructor Summary
DataSessionEventCriteria()
          Creates a new DataSessionEventCriteria instance.
DataSessionEventCriteria(org.csapi.jr.se.AddressRange _destinationAddress, org.csapi.jr.se.AddressRange _originationAddress, int _dataSessionEventName, org.csapi.jr.se.dsc.DataSessionMonitorMode _monitorMode)
          Creates a new DataSessionEventCriteria 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.AddressRange getDestinationAddress()
          This method returns a destinationAddress.
 org.csapi.jr.se.dsc.DataSessionMonitorMode getMonitorMode()
          This method returns a monitorMode.
 org.csapi.jr.se.AddressRange getOriginationAddress()
          This method returns a originationAddress.
 int hashCode()
          Returns a hashcode value for the object.
 void setDataSessionEventName(int dataSessionEventName)
          This method sets a dataSessionEventName.
 void setDestinationAddress(org.csapi.jr.se.AddressRange destinationAddress)
          This method sets a destinationAddress.
 void setMonitorMode(org.csapi.jr.se.dsc.DataSessionMonitorMode monitorMode)
          This method sets a monitorMode.
 void setOriginationAddress(org.csapi.jr.se.AddressRange originationAddress)
          This method sets a originationAddress.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSessionEventCriteria

public DataSessionEventCriteria()
Creates a new DataSessionEventCriteria instance.


DataSessionEventCriteria

public DataSessionEventCriteria(org.csapi.jr.se.AddressRange _destinationAddress,
                                org.csapi.jr.se.AddressRange _originationAddress,
                                int _dataSessionEventName,
                                org.csapi.jr.se.dsc.DataSessionMonitorMode _monitorMode)
Creates a new DataSessionEventCriteria instance.

Parameters:
_destinationAddress - Defines the destination address for which the notification is reported.
_originationAddress - Defines the origination address or an address range for which the notification is requested.
_dataSessionEventName - Name of the event(s)
_monitorMode - Defines the mode that the Data Session is in following the notification. Monitor mode P_DATA_SESSION_MONITOR_MODE_DO_NOT_MONITOR is not a legal value here.
Method Detail

getDestinationAddress

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

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

getOriginationAddress

public org.csapi.jr.se.AddressRange getOriginationAddress()
This method returns a originationAddress.

Returns:
a org.csapi.jr.se.AddressRange 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

setDestinationAddress

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


setOriginationAddress

public void setOriginationAddress(org.csapi.jr.se.AddressRange originationAddress)
This method sets a originationAddress.


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.


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