org.csapi.jr.se.mmm
Class GetMessageContentResEvent

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

public final class GetMessageContentResEvent
extends java.util.EventObject

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GetMessageContentResEvent(java.lang.Object source, java.lang.String contentType, java.lang.String contentTransferEncoding, byte[] content)
          Constructor for the GetMessageContentResEvent Event.
 
Method Summary
 byte[] getContent()
          This method is used to retrieve the parameter value of 'content' passed up from the Gateway in it's call to the getMessageContentRes() method, used on the creation of this event.
 java.lang.String getContentTransferEncoding()
          This method is used to retrieve the parameter value of 'contentTransferEncoding' passed up from the Gateway in it's call to the getMessageContentRes() method, used on the creation of this event.
 java.lang.String getContentType()
          This method is used to retrieve the parameter value of 'contentType' passed up from the Gateway in it's call to the getMessageContentRes() 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

GetMessageContentResEvent

public GetMessageContentResEvent(java.lang.Object source,
                                 java.lang.String contentType,
                                 java.lang.String contentTransferEncoding,
                                 byte[] content)
Constructor for the GetMessageContentResEvent Event.

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

getContentType

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

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

getContentTransferEncoding

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

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

getContent

public byte[] getContent()
This method is used to retrieve the parameter value of 'content' passed up from the Gateway in it's call to the getMessageContentRes() method, used on the creation of this event.

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