Download Oracle Application Server Wireless Developer`s Guide

Transcript
Transport Component
10.6.1.16.1 Class Name
oracle.panama.messaging.transport.driver.fax.RightFAXDriver
10.6.1.16.2
■
Configuration
server.url
URL to the RightFax server. This is required.
■
server.account
Account name to the RightFax server. This is required.
All the default attributes below are optional. They are used to customize the cover
sheet only.
■
server.coverpage
The cover page to be used by this driver. If not specified, then the default cover
page of the fax gateway will be used.
■
default.sender.name
The default sender name to be shown on the cover page.
■
default.sender.corporation
The default sender corporation to be shown on the cover page.
■
default.sender.fax
The default sender's fax number to be shown on the cover page.
■
default.sender.phone
The default sender's phone number to be shown on the cover page.
■
default.sender.address
The default sender's address to be shown on the cover page.
■
default.sender.notes
The default sender's notes to be shown on the cover page.
■
server.coverpage
The RightFAX driver requires a coverpage setting to render the coverpage. The
coverpage is under a coverpage directory of the RightFAX server. This parameter
should be set to the filename of the coverpage you want. If this parameter is not
set, the default coverpage of the fax server is used.
10.6.2 How to Develop New Drivers
The driver interfaces are intended for the implementation of drivers for particular
protocols. As explained above, drivers can be plugged into the transport system rather
easily, extending network protocol support to the base product. A driver is expected to
be a very thin layer and handles only the protocol-specific details. It is not designed to
handle life cycle, load balancing or scalability issues. The transport system handles
these issues.
The transport system initializes and destroys driver instances by respectively calling
the init() and destroy() methods as specified in the Interface Driver. The
transport system also handles load balancing and concurrence. A driver should just
focus on interpreting the semantics of a particular protocol, leaving all others to the
transport system.
Creating Messaging Applications
10-63