|
Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference E14785-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.sdpinternal.parlayx.ParlayXClientBase oracle.sdp.parlayx.presence.consumer.PresenceConsumerClient
public class PresenceConsumerClient
Constructor Summary | |
---|---|
PresenceConsumerClient(Map<java.lang.String,java.lang.Object> parameters)
Construct a client capable of invoking a Parlay X PresenceConsumer webservice. |
Method Summary | |
---|---|
void |
endPresenceNotification(java.lang.String correlator)
This method implemented as describe in ParlayX 2.1 specs. |
PresenceConsumer |
getPort()
|
List<PresenceAttribute> |
getUserPresence(java.lang.String presentity,
List<PresenceAttributeType> attributes)
This method will behave as described in the Parlay X 2.1 specs with the following Oracle Extension. In the return array, an OtherValue("ServiceAndDeviceNote") may appear as one of the element. |
List<java.lang.String> |
startPresenceNotification(java.lang.String presentity,
List<PresenceAttributeType> attributes,
SimpleReference reference,
TimeMetric frequency,
TimeMetric duration,
java.lang.Integer count,
boolean checkImmediate)
This method implemented as describe in ParlayX 2.1 specs except frequency, duration and count is not implemented. |
void |
subscribePresence(java.lang.String presentity,
List<PresenceAttributeType> attributes,
java.lang.String application,
SimpleReference reference)
This method will behave as described in the Parlay X 2.1 specs with the following Oracle Extension. To subscribe to multiple presentities Set presentity to this special URI "ocms:multiple_presentities@presence.ocms.oracle.com" Set application to comma delimited sip or pres addresses. Short form can be used if all presentities are in the same domain and all are sip URI. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PresenceConsumerClient(Map<java.lang.String,java.lang.Object> parameters)
parameters
- A Map of configuration parameters for the client. The values in this
map will be passed through to the JAX-WS RequestContext as described above.Method Detail |
---|
public void endPresenceNotification(java.lang.String correlator) throws PolicyException, ServiceException
endPresenceNotification
in interface PresenceConsumer
correlator
- Correlator passed in startPresenceNotification.
ServiceException
PolicyException
PolicyException
ServiceException
public PresenceConsumer getPort()
public List<PresenceAttribute> getUserPresence(java.lang.String presentity, List<PresenceAttributeType> attributes) throws PolicyException, ServiceException
getUserPresence
in interface PresenceConsumer
presentity
- SIP or PRES address of the presentity.attributes
- Currently only support activity.
ServiceException
PolicyException
java.rmi.RemoteException
public List<java.lang.String> startPresenceNotification(java.lang.String presentity, List<PresenceAttributeType> attributes, SimpleReference reference, TimeMetric frequency, TimeMetric duration, java.lang.Integer count, boolean checkImmediate) throws PolicyException, ServiceException
startPresenceNotification
in interface PresenceConsumer
presentity
- The presentity or group whose attributes the
watcher wants to monitor.attributes
- The attributes the watch wants to see. Currently,
only Activity is allowed.reference
- URL to the notification interface.frequency
- Not used.duration
- Not used.count
- Not used.checkImmediate
- Whether to check status immediately after
establishing notification.
ServiceException
PolicyException
public void subscribePresence(java.lang.String presentity, List<PresenceAttributeType> attributes, java.lang.String application, SimpleReference reference) throws PolicyException, ServiceException
subscribePresence
in interface PresenceConsumer
presentity
- SIP or PRES address of the presentity.attributes
- Currently only support Activity.application
- Not used unless Oracle Extension is used. See above for Oracle specific.reference
- Reference to the PresenceNotification interface.
ServiceException
PolicyException
java.rmi.RemoteException
|
Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference E14785-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |