Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.transport
Class SendingBillingContext

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

All Implemented Interfaces:
BillingContext

public class SendingBillingContext
extends java.lang.Object
implements BillingContext

Billing context for outgoing messages. The bill context logs some generic information about an outgoing 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:
ReceivingBillingContext

Field Summary

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

Constructor Summary
SendingBillingContext()

Method Summary
java.lang.String getDeliveryType()
Get the message delivery type.
java.lang.String getDriverName()
Get the driver name the message is routed to.
java.lang.String getFrom()
Get the message's from-address.
java.lang.String getLinkedMessageId()
Get the linked message id.
java.lang.String getMessageId()
Get the message id.
java.lang.String getReplyTo()
Get the reply-to address.
java.lang.String getServiceName()
Get the service name of the message.
java.lang.String getTo()
Get the destination addresses of the message.
void setDeliveryType(java.lang.String transport)
Set the message delivery type.
void setDriverName(java.lang.String driver)
Set the driver name the message is routed to.
void setFrom(java.lang.String frm)
Set the from-address of the message.
void setLinkedMessageId(java.lang.String id)
Set the linked message id.
void setMessageId(java.lang.String id)
Set the message id.
void setReplyTo(java.lang.String t)
Set the reply-to address.
void setServiceName(java.lang.String service)
Set the service name of the message.
void setTo(java.lang.String toAddresses)
Set the destination addresses.

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

Constructor Detail

SendingBillingContext

public SendingBillingContext()

Method Detail

getDeliveryType

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

getDriverName

public java.lang.String getDriverName()
Get the driver name the message is routed to.
Returns:
the driver name the message is routed to.

getFrom

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

getLinkedMessageId

public java.lang.String getLinkedMessageId()
Get the linked message id. A linked message id is the id of a received message. This message is the reponse of the received message. The linked message id is set by the application to which the messaging server dispatches the received message.
Returns:
the linked message id of the message.

getMessageId

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

getReplyTo

public java.lang.String getReplyTo()
Get the reply-to address.
Returns:
the reply-to address of the message.

getServiceName

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

getTo

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

setDeliveryType

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

setDriverName

public void setDriverName(java.lang.String driver)
Set the driver name the message is routed to.
Parameters:
driver - the driver name 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.

setLinkedMessageId

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

setMessageId

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

setReplyTo

public void setReplyTo(java.lang.String t)
Set the reply-to address.
Parameters:
t - the reply-to address 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 toAddresses)
Set the destination addresses.
Parameters:
toAddresses - the destination addresses of the message.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.