|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents the entry point to the Transport messaging API. The MessagingController is the entry point to the interface offered by the transport system for messaging. This interface is designed for the use of content providers in building messaging based applications. (please see TransportLocator for an overview of the transport system). With the messaging interface, two way applications, both sending and receiving messages, can be built without having to worry about particular communication protocols(such as SMS, voice, email) at all. All is needed is a description of the recipient, such as "SMS 1234567".
Method Summary | |
java.lang.String[] |
getDeliveryTypes() Get all currently supported delivery types. |
DriverInfo[] |
getDriverInfos() Get information about drivers currently configured. |
Messenger |
getMessenger() Create a new messenger instance without specifying a name. |
Messenger |
getMessenger(java.lang.String name) Get a named messenger instance, create one if not exists. |
java.lang.String |
getVersion() Get the version of this transport system. |
Method Detail |
public java.lang.String[] getDeliveryTypes() throws TransportException
TransportException
- if the transport failed to load all supported delivery types.public DriverInfo[] getDriverInfos() throws TransportException
Get information about drivers currently configured. This API is for advanced users. Driver info can be used to control the routing of messages. Normally the routing and picking a driver to deliver a message is performed by the transport system. However, if an application wants more control it can specify infomation used by the transport so as to influence the routing decision. For example, when requesting to send a message, specifying a carrier narrows the set of driver the transport picks to those that support carrier matching the one specified; specifying a driver name completely bypasses the tranports's routing logic. Please see the sending API for more info.
TransportException
- if the transport failed to load all driver information.public Messenger getMessenger()
public Messenger getMessenger(java.lang.String name)
name
- the name of the messenger.public java.lang.String getVersion()
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |