Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.transport
Class ReceivingBillingContext

java.lang.Object
  extended byoracle.panama.messaging.transport.ReceivingBillingContext

All Implemented Interfaces:
BillingContext

public class ReceivingBillingContext
extends java.lang.Object
implements BillingContext

Billing context for incoming messages. The bill context logs some generic information about an incoming message. The billing framework saves them in a database. A customer developped billing driver can read these information and decide how to bill the recipient.

See Also:
SendingBillingContext

Field Summary

Fields inherited from interface oracle.wireless.billing.BillingContext
ALERT_COMPONENT, MESSAGING_COMPONENT, PROVISIONING_COMPONENT, PUSH_COMPONENT, RUNTIME_COMPONENT

Constructor Summary
ReceivingBillingContext()

Method Summary
java.lang.String getDeliveryType()
Get the message delivery type.
java.lang.String getFrom()
Get the message's from-address.
java.lang.String getMessageId()
Get the message id.
java.lang.String getServiceName()
Get the service name of the message.
java.lang.String getTo()
Get the destination address of the message.
void setDeliveryType(java.lang.String transport)
Set the message delivery type.
void setFrom(java.lang.String frm)
Set the from-address of the message.
void setMessageId(java.lang.String id)
Set the message id.
void setServiceName(java.lang.String service)
Set the service name of the message.
void setTo(java.lang.String toAddress)
Set the destination address.

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

Constructor Detail

ReceivingBillingContext

public ReceivingBillingContext()

Method Detail

getDeliveryType

public java.lang.String getDeliveryType()
Get the message delivery type.
Returns:
the delvery type of the message.

getFrom

public java.lang.String getFrom()
Get the message's from-address.
Returns:
the from-address of the message.

getMessageId

public java.lang.String getMessageId()
Get the message id.
Returns:
the message id of the message.

getServiceName

public java.lang.String getServiceName()
Get the service name of the message. This is the name of the application that receives the message.
Returns:
the service name of the message.

getTo

public java.lang.String getTo()
Get the destination address of the message.
Returns:
the destiantion address of the message.

setDeliveryType

public void setDeliveryType(java.lang.String transport)
Set the message delivery type.
Parameters:
transport - the delivery type of the message.

setFrom

public void setFrom(java.lang.String frm)
Set the from-address of the message.
Parameters:
frm - the from-address of the message.

setMessageId

public void setMessageId(java.lang.String id)
Set the message id.
Parameters:
id - the id of the message.

setServiceName

public void setServiceName(java.lang.String service)
Set the service name of the message.
Parameters:
service - the service name of the message.

setTo

public void setTo(java.lang.String toAddress)
Set the destination address.
Parameters:
toAddress - the destination addresses of the message.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.