Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.messaging.xms
Class XMSSimpleSenderImpl

java.lang.Object
  |
  +--oracle.panama.messaging.xms.XMSSenderBase
        |
        +--oracle.panama.messaging.xms.XMSPushSenderBase
              |
              +--oracle.panama.messaging.xms.XMSSimpleSenderImpl
All Implemented Interfaces:
XMSSimpleSender
Direct Known Subclasses:
XMSSenderImpl

public class XMSSimpleSenderImpl
extends XMSPushSenderBase
implements XMSSimpleSender

testcase test.oracle.panama.messaging.xms.TestXMSSimpleSenderImpl


Field Summary

 

Fields inherited from interface oracle.panama.messaging.xms.XMSSimpleSender
VERSION_NUMBER

 

Method Summary
 java.lang.String[] sendMsg(java.lang.String[] recipients, java.lang.String subject, java.lang.String input)
          Send the message.
 java.lang.String[] sendMsg(java.lang.String[] recipients, java.lang.String Subject, java.lang.String content, java.net.URL baseurl)
           

 

Methods inherited from class oracle.panama.messaging.xms.XMSPushSenderBase
getStatus, getStatus, getStatus, getStatus, getSupportedTransports, removeStatusListener, setProxy, setStatusListener

 

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

 

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

 

Methods inherited from interface oracle.panama.messaging.xms.XMSSimpleSender
addDeliveryType, getStatus, getStatus, getSupportedTransports, getVersion, sendMsg, sendMsg, setProxy

 

Method Detail

sendMsg

public java.lang.String[] sendMsg(java.lang.String[] recipients,
                                  java.lang.String subject,
                                  java.lang.String input)
                           throws XMSException
Description copied from interface: XMSSimpleSender
Send the message.
Specified by:
sendMsg in interface XMSSimpleSender
Specified by:
sendMsg in class XMSSenderBase
Parameters:
recipients - List of users to send message to. Each user can either be a Wireless user name or a fully-qualified address such as Email:thomas.wilsher@oracle.com. If just a panama user is specified that user is looked up and the message is sent to the 'best' device for that user. If the latter (explicit) form is used then the specified delivery type will be used
subject - subject to use for the message
input - the MobileXML (XHTML+) message to send out, as a String
XMSException

sendMsg

public java.lang.String[] sendMsg(java.lang.String[] recipients,
                                  java.lang.String Subject,
                                  java.lang.String content,
                                  java.net.URL baseurl)
                           throws XMSException
Specified by:
sendMsg in class XMSSenderBase
XMSException

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.