org.mobicents.slee.sippresence.server.subscription
Class PresenceSubscriptionControl

java.lang.Object
  extended by org.mobicents.slee.sippresence.server.subscription.PresenceSubscriptionControl

public class PresenceSubscriptionControl
extends java.lang.Object

Logic for the sip presence subscription control, which complements the SIP Event generic logic.

Author:
martins

Constructor Summary
PresenceSubscriptionControl(PresenceSubscriptionControlSbbLocalObject sbb)
           
 
Method Summary
 void documentUpdated(org.openxdm.xcap.common.uri.DocumentSelector documentSelector, java.lang.String oldETag, java.lang.String newETag, java.lang.String documentAsString)
           
 java.lang.Object filterContentPerSubscriber(java.lang.String subscriber, java.lang.String notifier, java.lang.String eventPackage, java.lang.Object unmarshalledContent)
           
static java.lang.String[] getEventPackages()
           
 org.mobicents.slee.sipevent.server.subscription.NotifyContent getNotifyContent(org.mobicents.slee.sipevent.server.subscription.pojo.Subscription subscription)
           
 void getResponse(org.openxdm.xcap.common.key.XcapUriKey key, int responseCode, java.lang.String mimetype, java.lang.String content)
          async get response from xdm client
 java.lang.String getSphere(java.lang.String notifier)
          interface used by rules processor to get sphere for a notifier
 void isSubscriberAuthorized(java.lang.String subscriber, java.lang.String subscriberDisplayName, java.lang.String notifier, org.mobicents.slee.sipevent.server.subscription.pojo.SubscriptionKey key, int expires, java.lang.String content, java.lang.String contentType, java.lang.String contentSubtype, java.lang.String presRulesAUID, java.lang.String presRulesDocumentName, javax.sip.ServerTransaction serverTransaction)
           
 void removingSubscription(org.mobicents.slee.sipevent.server.subscription.pojo.Subscription subscription, java.lang.String presRulesAUID, java.lang.String presRulesDocumentName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PresenceSubscriptionControl

public PresenceSubscriptionControl(PresenceSubscriptionControlSbbLocalObject sbb)
Method Detail

getEventPackages

public static java.lang.String[] getEventPackages()

isSubscriberAuthorized

public void isSubscriberAuthorized(java.lang.String subscriber,
                                   java.lang.String subscriberDisplayName,
                                   java.lang.String notifier,
                                   org.mobicents.slee.sipevent.server.subscription.pojo.SubscriptionKey key,
                                   int expires,
                                   java.lang.String content,
                                   java.lang.String contentType,
                                   java.lang.String contentSubtype,
                                   java.lang.String presRulesAUID,
                                   java.lang.String presRulesDocumentName,
                                   javax.sip.ServerTransaction serverTransaction)

removingSubscription

public void removingSubscription(org.mobicents.slee.sipevent.server.subscription.pojo.Subscription subscription,
                                 java.lang.String presRulesAUID,
                                 java.lang.String presRulesDocumentName)

getResponse

public void getResponse(org.openxdm.xcap.common.key.XcapUriKey key,
                        int responseCode,
                        java.lang.String mimetype,
                        java.lang.String content)
async get response from xdm client


documentUpdated

public void documentUpdated(org.openxdm.xcap.common.uri.DocumentSelector documentSelector,
                            java.lang.String oldETag,
                            java.lang.String newETag,
                            java.lang.String documentAsString)

getSphere

public java.lang.String getSphere(java.lang.String notifier)
interface used by rules processor to get sphere for a notifier


getNotifyContent

public org.mobicents.slee.sipevent.server.subscription.NotifyContent getNotifyContent(org.mobicents.slee.sipevent.server.subscription.pojo.Subscription subscription)

filterContentPerSubscriber

public java.lang.Object filterContentPerSubscriber(java.lang.String subscriber,
                                                   java.lang.String notifier,
                                                   java.lang.String eventPackage,
                                                   java.lang.Object unmarshalledContent)


Copyright © 2008. All Rights Reserved.