Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.messaging.xms
Class XMSPushSenderBase

java.lang.Object
  |
  +--oracle.panama.messaging.xms.XMSSenderBase
        |
        +--oracle.panama.messaging.xms.XMSPushSenderBase
Direct Known Subclasses:
XMSSimpleSenderImpl

public abstract class XMSPushSenderBase
extends XMSSenderBase

Method Summary
 java.lang.String getStatus(java.lang.String statusId)
           
 java.lang.String[] getStatus(java.lang.String[] statusIDs)
           
 oracle.panama.messaging.push.Status getStatus(oracle.panama.messaging.push.WorkOrder workOrder)
          Get current status of a work order.
 oracle.panama.messaging.push.Status[] getStatus(oracle.panama.messaging.push.WorkOrder[] workOrders)
          Get current status of a set of work orders.
 java.lang.String[] getSupportedTransports()
          Get names of available transports from underlying Push server.
 void removeStatusListener()
          Unregister the status listener if any is registered.
 void setProxy(java.lang.String host, int port)
          Set the HTTP proxy to use.
 void setStatusListener(oracle.panama.messaging.push.StatusListener statusListener)
          Set status listener of this Push.

 

Methods inherited from class oracle.panama.messaging.xms.XMSSenderBase
addDeliveryType, addDeliveryType, getReturnAddress, getVersion, sendMsg, sendMsg, sendMsg, sendMsg

 

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

 

Method Detail

getStatus

public final java.lang.String getStatus(java.lang.String statusId)
                                 throws XMSException
XMSException

setProxy

public void setProxy(java.lang.String host,
                     int port)
Set the HTTP proxy to use. If Push client machine is inside firewall and Push Server is outside firewall, user may need to tell Push client his/her HTTP proxy settings.
DO NOT set proxy if:
- Push server is on Internet and Push client machine connects to internet directly
- they both on the same intranet
- local installation
Parameters:
host - host name of proxy For example: proxy.company.com
port - port number of the proxy. For example: 80

getStatus

public final java.lang.String[] getStatus(java.lang.String[] statusIDs)
                                   throws XMSException
XMSException

getStatus

public final oracle.panama.messaging.push.Status[] getStatus(oracle.panama.messaging.push.WorkOrder[] workOrders)
                                                      throws XMSException
Get current status of a set of work orders.
XMSException

getStatus

public final oracle.panama.messaging.push.Status getStatus(oracle.panama.messaging.push.WorkOrder workOrder)
                                                    throws XMSException
Get current status of a work order. One work order has one address and the message ID of that address.
XMSException

getSupportedTransports

public java.lang.String[] getSupportedTransports()
                                          throws XMSException
Get names of available transports from underlying Push server. Use this method to get what kinds of transports the Push server supports. For example: if the return values are: "SMS","email". You may only send SMS and email messages through this gateway.
XMSException

removeStatusListener

public final void removeStatusListener()
                                throws XMSException
Unregister the status listener if any is registered.
(This feature is not implemented in this release.)
XMSException

setStatusListener

public final void setStatusListener(oracle.panama.messaging.push.StatusListener statusListener)
                             throws XMSException
Set status listener of this Push.
(This feature is not implemented in this release.)
XMSException

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.