org.csapi.jr.se.mmm
Class NewMessageArrivedInfo

java.lang.Object
  extended byorg.csapi.jr.se.mmm.NewMessageArrivedInfo
All Implemented Interfaces:
java.io.Serializable

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

Defines the Sequence of Data Elements that specify the information returned to the application in a New Message Arrived event. The Source and Destination addresses are included, as they are used in the criteria for this event. The actual message received is included in the Message field. This contains the entire message (headers and body) in unstructured format. The Headers field contains header information which was sent as part of the message. This information could be duplicated in the raw message, depending on its format.

See Also:
Serialized Form

Constructor Summary
NewMessageArrivedInfo()
          Creates a new NewMessageArrivedInfo instance.
NewMessageArrivedInfo(Address _sourceAddress, Address[] _destinationAddressSet, byte[] _message, MessageHeaderField[] _headers, MultiMediaMessaging _multiMediaMessaging)
          Creates a new NewMessageArrivedInfo instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 Address[] getDestinationAddressSet()
          This method returns a destinationAddressSet.
 MessageHeaderField[] getHeaders()
          This method returns a headers.
 byte[] getMessage()
          This method returns a message.
 MultiMediaMessaging getMultiMediaMessaging()
          This method returns a multiMediaMessaging.
 Address getSourceAddress()
          This method returns a sourceAddress.
 int hashCode()
          Returns a hashcode value for the object.
 void setDestinationAddressSet(Address[] destinationAddressSet)
          This method sets a destinationAddressSet.
 void setHeaders(MessageHeaderField[] headers)
          This method sets a headers.
 void setMessage(byte[] message)
          This method sets a message.
 void setMultiMediaMessaging(MultiMediaMessaging multiMediaMessaging)
          This method sets a multiMediaMessaging.
 void setSourceAddress(Address sourceAddress)
          This method sets a sourceAddress.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewMessageArrivedInfo

public NewMessageArrivedInfo()
Creates a new NewMessageArrivedInfo instance.


NewMessageArrivedInfo

public NewMessageArrivedInfo(Address _sourceAddress,
                             Address[] _destinationAddressSet,
                             byte[] _message,
                             MessageHeaderField[] _headers,
                             MultiMediaMessaging _multiMediaMessaging)
Creates a new NewMessageArrivedInfo instance.

Parameters:
_sourceAddress -
_destinationAddressSet -
_message -
_headers -
_multiMediaMessaging -
Method Detail

getSourceAddress

public Address getSourceAddress()
This method returns a sourceAddress.

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

getDestinationAddressSet

public Address[] getDestinationAddressSet()
This method returns a destinationAddressSet.

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

getMessage

public byte[] getMessage()
This method returns a message.

Returns:
a byte[] value

getHeaders

public MessageHeaderField[] getHeaders()
This method returns a headers.

Returns:
a org.csapi.jr.se.mmm.MessageHeaderField[] value

getMultiMediaMessaging

public MultiMediaMessaging getMultiMediaMessaging()
This method returns a multiMediaMessaging.

Returns:
a org.csapi.jr.se.mmm.MultiMediaMessaging value

setSourceAddress

public void setSourceAddress(Address sourceAddress)
This method sets a sourceAddress.


setDestinationAddressSet

public void setDestinationAddressSet(Address[] destinationAddressSet)
This method sets a destinationAddressSet.


setMessage

public void setMessage(byte[] message)
This method sets a message.


setHeaders

public void setHeaders(MessageHeaderField[] headers)
This method sets a headers.


setMultiMediaMessaging

public void setMultiMediaMessaging(MultiMediaMessaging multiMediaMessaging)
This method sets a multiMediaMessaging.


equals

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


hashCode

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