Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.transport
Class Report

java.lang.Object
  extended byoracle.panama.messaging.transport.Status
      extended byoracle.panama.messaging.transport.Report

All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class Report
extends Status

This class is used by a driver to report sending result to Transport.

See Also:
XDriver, Serialized Form

Field Summary

Fields inherited from class oracle.panama.messaging.transport.Status
DELIVERY_TO_DEVICE_FAILURE, DELIVERY_TO_DEVICE_SUCCESS, DELIVERY_TO_SERVER_FAILURE, DELIVERY_TO_SERVER_SUCCESS, INTERMEDIATE_NOTIFICATION, READ_ACKNOWLEDGEMENT_FAILURE, READ_ACKNOWLEDGEMENT_SUCCESS, UNKNOWN_FAILURE, UNKNOWN_STATUS_TYPE, USER_REPLY_ACKNOWLEDGEMENT, USER_REPLY_ACKNOWLEDGEMENT_FAILURE

Constructor Summary
Report()

Method Summary
int getChunkCount()
Get the total chunks the message is split into.
java.lang.String[] getChunkIds()
Get the chunk ids for all chunks.
java.lang.String getMessageId()
Get the message id assigned by the gateway.
void setChunkCount(int count)
Set the total chunks the message is split into.
void setChunkIds(java.lang.String[] ids)
Set the ids for all chunks.
void setMessageId(java.lang.String mid)
Set the message id assigned by the gateway.

Methods inherited from class oracle.panama.messaging.transport.Status
getContent, getTimeStamp, getType, readExternal, setContent, setTimeStamp, setType, writeExternal

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Report

public Report()

Method Detail

getChunkCount

public int getChunkCount()
Get the total chunks the message is split into.
Returns:
the total chunks.

getChunkIds

public java.lang.String[] getChunkIds()
Get the chunk ids for all chunks.
Returns:
the chunk ids for all chunks.

getMessageId

public java.lang.String getMessageId()
Get the message id assigned by the gateway.
Returns:
the message id assigned by the gateway.

setChunkCount

public void setChunkCount(int count)
Set the total chunks the message is split into.
Parameters:
count - the total chunks.

setChunkIds

public void setChunkIds(java.lang.String[] ids)
Set the ids for all chunks.
Parameters:
ids - the ids for all chunks.

setMessageId

public void setMessageId(java.lang.String mid)
Set the message id assigned by the gateway.
Parameters:
mid - the message id assigned by the gateway.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.