|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.panama.messaging.transport.SimpleBean
The simple bean. The simple bean is actually a simple bean wrapper of the transport API for PTG. Use this bean, it is very easy to send messages to PTG User and DeviceAddress.
Constructor Summary |
SimpleBean()
Constructor. |
Method Summary |
Type | Method |
---|---|
Status |
getStatus(java.lang.String mid)
Get the sending status of a message of given id. |
Status[] |
getStatus(java.lang.String[] mids)
Get the sending status of messages of given ids. |
java.lang.String[] |
send(DeviceAddress[] addresses,
SenderInfo[] sis,
DeviceInfo[] dis,
MessageInfo info,
Message message,
java.lang.String[] failover)
Send a message to a list of device addresses. |
java.lang.String[] |
send(DeviceAddress[] addresses,
SenderInfo[] sis,
DeviceInfo[] infos,
Message message,
java.lang.String[] failover)
Send a message to a list of device addresses. |
java.lang.String[] |
send(DeviceAddress[] addresses,
SenderInfo[] sis,
DeviceInfo di,
MessageInfo info,
Message message,
java.lang.String[] failover)
Send a message to a list of device addresses. |
java.lang.String[] |
send(DeviceAddress[] addresses,
SenderInfo[] sis,
DeviceInfo info,
Message message,
java.lang.String[] failover)
Send a message to a list of device addresses. |
java.lang.String[] |
send(DeviceAddress[] addresses,
SenderInfo[] sis,
MessageInfo info,
Message message,
java.lang.String[] failover)
Send a message to a list of device addresses. |
java.lang.String[] |
send(DeviceAddress[] addresses,
SenderInfo[] sis,
Message message,
java.lang.String[] failover)
Send a message to a list of users. |
java.lang.String |
send(DeviceAddress address,
SenderInfo si,
Message message,
java.lang.String[] failover)
Send a message to an device address. |
java.lang.String[] |
send(java.lang.String[] types,
java.lang.String type,
java.lang.String sender,
java.lang.String[] recipients,
java.lang.String message)
Send a message to a list of recipients. |
java.lang.String[] |
send(java.lang.String[] types,
java.lang.String type,
java.lang.String sender,
java.lang.String replyTo,
java.lang.String[] recipients,
java.lang.String subject,
java.lang.String message,
java.lang.String encoding)
Send a message to a list of recipients. |
java.lang.String[] |
send(java.lang.String type,
java.lang.String sender,
java.lang.String[] recipients,
java.lang.String message)
Send a message to a list of recipients. |
java.lang.String[] |
send(java.lang.String type,
java.lang.String sender,
java.lang.String replyTo,
java.lang.String[] recipients,
java.lang.String subject,
java.lang.String message,
java.lang.String encoding)
Send a message to a list of recipients. |
java.lang.String[] |
send(User[] users,
SenderInfo[] sis,
DeviceInfo[] dis,
MessageInfo info,
Message message,
java.lang.String[] failover)
Send a message to a list of users. |
java.lang.String[] |
send(User[] users,
SenderInfo[] sis,
DeviceInfo[] infos,
Message message,
java.lang.String[] failover)
Send a message to a list of users. |
java.lang.String[] |
send(User[] users,
SenderInfo[] sis,
DeviceInfo di,
MessageInfo info,
Message message,
java.lang.String[] failover)
Send a message to a list of users. |
java.lang.String[] |
send(User[] users,
SenderInfo[] sis,
DeviceInfo info,
Message message,
java.lang.String[] failover)
Send a message to a list of users. |
java.lang.String[] |
send(User[] users,
SenderInfo[] sis,
MessageInfo info,
Message message,
java.lang.String[] failover)
Send a message to a list of users. |
java.lang.String[] |
send(User[] users,
SenderInfo[] sis,
Message message,
java.lang.String[] failover)
Send a message to a list of users. |
java.lang.String |
send(User user,
SenderInfo si,
Message message,
java.lang.String[] failover)
Send a message to a user. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleBean()
Method Detail |
public java.lang.String[] send(java.lang.String type, java.lang.String sender, java.lang.String[] recipients, java.lang.String message) throws TransportException
type
- the delivery type.sender
- the sender address.recipients
- a list of recipient addresses.message
- the text message.TransportException
- if an error detected.public java.lang.String[] send(java.lang.String type, java.lang.String sender, java.lang.String replyTo, java.lang.String[] recipients, java.lang.String subject, java.lang.String message, java.lang.String encoding) throws TransportException
type
- the delivery type.sender
- the sender address.replyTo
- the reply-to address.recipients
- a list of recipient addresses.subject
- the message subject.message
- the text message.encoding
- the message encoding.TransportException
- if an
error detected.public java.lang.String[] send(java.lang.String[] types, java.lang.String type, java.lang.String sender, java.lang.String[] recipients, java.lang.String message) throws TransportException
types
- a list of delivery types.type
- the delivery type of the sender.sender
- the sender address.recipients
- a list of recipient addresses.message
- the text message.TransportException
- if an error detected.public java.lang.String[] send(java.lang.String[] types, java.lang.String type, java.lang.String sender, java.lang.String replyTo, java.lang.String[] recipients, java.lang.String subject, java.lang.String message, java.lang.String encoding) throws TransportException
types
- a list of delivery types.type
- the delivery type of the sender.sender
- the sender address.replyTo
- the reply-to address.recipients
- a list
of recipient addresses.subject
- the message subject.message
- the text message.encoding
- the message encoding.TransportException
- if an error detected.public java.lang.String send(User user, SenderInfo si, Message message, java.lang.String[] failover) throws TransportException
user
- the user to send to.si
- the sender information.message
- the message to send.failover
- the fail-over delivery types.TransportException
- if an error detected.public java.lang.String[] send(User[] users, SenderInfo[] sis, Message message, java.lang.String[] failover) throws TransportException
users
- the users to send to.sis
- the sender information.message
- the message to send.failover
- the fail-over delivery types.TransportException
- if an error detected.public java.lang.String[] send(User[] users, SenderInfo[] sis, MessageInfo info, Message message, java.lang.String[] failover) throws TransportException
users
- the users to send to.sis
- the sender information.info
- the message information.message
- the message to send.failover
- the fail-over delivery
types.TransportException
- if an error detected.public java.lang.String[] send(User[] users, SenderInfo[] sis, DeviceInfo info, Message message, java.lang.String[] failover) throws TransportException
users
- the users to send to.sis
- the sender information.info
- the device information.message
- the message to send.failover
- the fail-over delivery
types.TransportException
- if an error detected.public java.lang.String[] send(User[] users, SenderInfo[] sis, DeviceInfo[] infos, Message message, java.lang.String[] failover) throws TransportException
users
- the users to send to.sis
- the sender information.infos
- the device information.message
- the message to send.failover
- the fail-over delivery
types.TransportException
- if an error detected.public java.lang.String[] send(User[] users, SenderInfo[] sis, DeviceInfo di, MessageInfo info, Message message, java.lang.String[] failover) throws TransportException
users
- the users to send to.sis
- the sender information.di
- the device information.info
- the message information.message
- the message to send.failover
- the fail-over delivery types.TransportException
- if an error detected.public java.lang.String[] send(User[] users, SenderInfo[] sis, DeviceInfo[] dis, MessageInfo info, Message message, java.lang.String[] failover) throws TransportException
users
- the users to send to.sis
- the sender information.dis
- the device information.info
- the message information.message
- the message to send.failover
- the fail-over delivery types.TransportException
- if an error detected.public java.lang.String send(DeviceAddress address, SenderInfo si, Message message, java.lang.String[] failover) throws TransportException
address
- the device address to send to.si
- the sender information.message
- the message to send.failover
- the fail-over delivery types.TransportException
- if an error detected.public java.lang.String[] send(DeviceAddress[] addresses, SenderInfo[] sis, Message message, java.lang.String[] failover) throws TransportException
addresses
- the device addresses to send to.sis
- the sender information.message
- the message to send.failover
- the fail-over delivery types.TransportException
- if an error detected.public java.lang.String[] send(DeviceAddress[] addresses, SenderInfo[] sis, MessageInfo info, Message message, java.lang.String[] failover) throws TransportException
addresses
- the device addresses to send to.sis
- the sender information.info
- the message information.message
- the message to send.failover
- the fail-over
delivery types.TransportException
- if an error detected.public java.lang.String[] send(DeviceAddress[] addresses, SenderInfo[] sis, DeviceInfo info, Message message, java.lang.String[] failover) throws TransportException
addresses
- the device addresses to send to.sis
- the sender information.info
- the device information.message
- the message to send.failover
- the fail-over
delivery types.TransportException
- if an error detected.public java.lang.String[] send(DeviceAddress[] addresses, SenderInfo[] sis, DeviceInfo[] infos, Message message, java.lang.String[] failover) throws TransportException
addresses
- the device addresses to send to.sis
- the sender information.infos
- the device information.message
- the message to send.failover
- the fail-over
delivery types.TransportException
- if an error detected.public java.lang.String[] send(DeviceAddress[] addresses, SenderInfo[] sis, DeviceInfo di, MessageInfo info, Message message, java.lang.String[] failover) throws TransportException
addresses
- the device addresses to send to.sis
- the sender information.di
- the device information.info
- the message information.message
- the message
to send.failover
- the fail-over delivery types.TransportException
- if an error
detected.public java.lang.String[] send(DeviceAddress[] addresses, SenderInfo[] sis, DeviceInfo[] dis, MessageInfo info, Message message, java.lang.String[] failover) throws TransportException
addresses
- the device addresses to send to.sis
- the sender information.dis
- the device information.info
- the message information.message
- the message
to send.failover
- the fail-over delivery types.TransportException
- if an error
detected.public Status getStatus(java.lang.String mid) throws TransportException
mid
- the message id.TransportException
- if an error
detected.public Status[] getStatus(java.lang.String[] mids) throws TransportException
mids
- the message ids.TransportException
- if an error detected.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |