cisco.uc.cuae.legacy
Class BasePresenceClient

java.lang.Object
  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface cisco.uc.cuae.legacy.Presence
Presence.NonTriggeringSubscribeOptions, Presence.NonTriggeringSubscribeResult, Presence.NotifyOptions, Presence.SubscriptionTerminatedOptions, Presence.TriggeringSubscribeOptions, Presence.TriggeringSubscribeResult, Presence.UnsubscribeOptions, Presence.UnsubscribeResult
 
Nested classes/interfaces inherited from interface cisco.uc.cuae.legacy.CuaeCommon
CuaeCommon.CuaeResult
 
Nested classes/interfaces inherited from interface cisco.uc.cuae.legacy.CuaeCommon
CuaeCommon.CuaeResult
 
Constructor Summary
BasePresenceClient()
           
 
Method Summary
 void _sessionControl(java.lang.Object control, java.lang.Object value)
           
 void _sessionNotify(java.lang.Object event)
           
 java.lang.Object _sessionQuery(java.lang.Object query)
           
 void notify(java.lang.String sessionId, Presence.NotifyOptions options)
          Notify indicates that the status has changed on the presentity, and what that change is.
 void subscriptionTerminated(java.lang.String sessionId, Presence.SubscriptionTerminatedOptions options)
          SubscriptionTerminated indicates that a subscription has been ended by the application or the presence server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasePresenceClient

public BasePresenceClient()
Method Detail

_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 call
options - 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 call
options - An object holding all the optional parameters


Copyright © 2008. All Rights Reserved.