cisco.uc.cuae.legacy
Class BasePresenceClient
java.lang.Object
cisco.uc.cuae.legacy.BasePresenceClient
- All Implemented Interfaces:
- CuaeCommon, CuaeCommonClient, Presence, PresenceClient, etch.bindings.java.support.ObjSession
public class BasePresenceClient
- extends java.lang.Object
- implements PresenceClient, etch.bindings.java.support.ObjSession
Base implementation of PresenceClient, with default method implementations
which throw UnsupportedOperationException. Extend this class to provide
implementations of messages from the server.
- See Also:
ImplPresenceClient
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasePresenceClient
public BasePresenceClient()
_sessionQuery
public java.lang.Object _sessionQuery(java.lang.Object query)
throws java.lang.Exception
- Specified by:
_sessionQuery in interface etch.bindings.java.support.ObjSession
- Throws:
java.lang.Exception
_sessionControl
public void _sessionControl(java.lang.Object control,
java.lang.Object value)
throws java.lang.Exception
- Specified by:
_sessionControl in interface etch.bindings.java.support.ObjSession
- Throws:
java.lang.Exception
_sessionNotify
public void _sessionNotify(java.lang.Object event)
throws java.lang.Exception
- Specified by:
_sessionNotify in interface etch.bindings.java.support.ObjSession
- Throws:
java.lang.Exception
subscriptionTerminated
public void subscriptionTerminated(java.lang.String sessionId,
Presence.SubscriptionTerminatedOptions options)
- Description copied from interface:
PresenceClient
- SubscriptionTerminated indicates that a subscription has been ended by the
application or the presence server.
The SubscriptionTerminated event indicates that a subscription is over, and
no further Notify events will be received for that subscription.
When an application successfully ends a subscription with an Unsubscribe,
the SubscriptionTerminated event will occur after its successful
completion.
- Specified by:
subscriptionTerminated in interface PresenceClient
- Parameters:
sessionId - The session Id for this method calloptions - An object holding all the optional parameters
notify
public void notify(java.lang.String sessionId,
Presence.NotifyOptions options)
- Description copied from interface:
PresenceClient
- Notify indicates that the status has changed on the presentity, and what
that change is.
Notify is fired every time a change occurs on the presentity. The Status
event parameter contains the status update message, which can either stored
in a string variable type and therefore be parsed by the application, or
can be used to initialize the PresenceNotification native type, which has
already parsed the message into well-known members.
- Specified by:
notify in interface PresenceClient
- Parameters:
sessionId - The session Id for this method calloptions - An object holding all the optional parameters
Copyright © 2008. All Rights Reserved.