org.csapi.jr.se.mmm
Class MessageStatusReportEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.csapi.jr.se.mmm.MessageStatusReportEvent
All Implemented Interfaces:
java.io.Serializable

public final class MessageStatusReportEvent
extends java.util.EventObject

Event created by an activity object to indicate that a Gateway originated call to the messageStatusReport() method on the callback interface has occurred.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MessageStatusReportEvent(java.lang.Object source, Address destinationAddress, int deliveryReportType, java.lang.String deliveryReportInfo)
          Constructor for the MessageStatusReportEvent Event.
 
Method Summary
 java.lang.String getDeliveryReportInfo()
          This method is used to retrieve the parameter value of 'deliveryReportInfo' passed up from the Gateway in it's call to the messageStatusReport() method, used on the creation of this event.
 int getDeliveryReportType()
          This method is used to retrieve the parameter value of 'deliveryReportType' passed up from the Gateway in it's call to the messageStatusReport() method, used on the creation of this event.
 Address getDestinationAddress()
          This method is used to retrieve the parameter value of 'destinationAddress' passed up from the Gateway in it's call to the messageStatusReport() method, used on the creation of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageStatusReportEvent

public MessageStatusReportEvent(java.lang.Object source,
                                Address destinationAddress,
                                int deliveryReportType,
                                java.lang.String deliveryReportInfo)
Constructor for the MessageStatusReportEvent Event.

Parameters:
source - Reference to the object firing the event.
Method Detail

getDestinationAddress

public Address getDestinationAddress()
This method is used to retrieve the parameter value of 'destinationAddress' passed up from the Gateway in it's call to the messageStatusReport() method, used on the creation of this event.

Returns:
The value of 'destinationAddress' used on creation of this event.

getDeliveryReportType

public int getDeliveryReportType()
This method is used to retrieve the parameter value of 'deliveryReportType' passed up from the Gateway in it's call to the messageStatusReport() method, used on the creation of this event.

Returns:
The value of 'deliveryReportType' used on creation of this event.

getDeliveryReportInfo

public java.lang.String getDeliveryReportInfo()
This method is used to retrieve the parameter value of 'deliveryReportInfo' passed up from the Gateway in it's call to the messageStatusReport() method, used on the creation of this event.

Returns:
The value of 'deliveryReportInfo' used on creation of this event.