|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.panama.messaging.xms.ConversationManager
Provides tools to manage conversations between two entities - register conversation between two entities - determine the other end of a conversation given one entity - get the failover chain of devices for an entity based on presence
| Method Summary | |
oracle.panama.messaging.push.AddressData |
getConversationOtherEnd(oracle.panama.messaging.push.AddressData addr)Get the other entity that addr is conversing with. |
oracle.panama.messaging.push.DeviceAddressData[] |
getFailoverChain(oracle.panama.messaging.push.AddressData addr, oracle.panama.messaging.push.Packet packet)Get failover chain of devices for user, and filter out offline devices. |
static ConversationManager |
getInstance() |
java.lang.String |
getKey(oracle.panama.messaging.push.AddressData addr)Generates a key for use in HashMap. |
boolean |
isPresenceOffline(oracle.panama.messaging.push.AddressData address)Is user Offline |
boolean |
isValidEndPoint(oracle.panama.messaging.push.AddressData to) |
oracle.panama.messaging.push.AddressData |
registerConversation(oracle.panama.messaging.push.AddressData from, oracle.panama.messaging.push.AddressData to, DeliveryType toDT)Register a conversation between two entities ( from and to), by using a free end point. |
boolean |
setPresenceOffline(oracle.panama.messaging.push.AddressData address)Set Presence of user to Offline |
boolean |
setPresenceOnline(oracle.panama.messaging.push.AddressData address)Set Presence of user to Online |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static ConversationManager getInstance()
public oracle.panama.messaging.push.AddressData registerConversation(oracle.panama.messaging.push.AddressData from,
oracle.panama.messaging.push.AddressData to,
DeliveryType toDT)
throws java.lang.Exception
from and to), by using a free end point.java.lang.Exceptionpublic oracle.panama.messaging.push.AddressData getConversationOtherEnd(oracle.panama.messaging.push.AddressData addr)
addr is conversing with.addr - an entity in a conversationpublic boolean isValidEndPoint(oracle.panama.messaging.push.AddressData to)
public java.lang.String getKey(oracle.panama.messaging.push.AddressData addr)
public oracle.panama.messaging.push.DeviceAddressData[] getFailoverChain(oracle.panama.messaging.push.AddressData addr,
oracle.panama.messaging.push.Packet packet)
addr - UserAddressData (Panama User) or DeviceAddressData.packet - packet to send to user, used to order the failover chain.public boolean setPresenceOnline(oracle.panama.messaging.push.AddressData address)
public boolean setPresenceOffline(oracle.panama.messaging.push.AddressData address)
public boolean isPresenceOffline(oracle.panama.messaging.push.AddressData address)
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||