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()
           
 
Method Summary
 java.lang.Object filterContentPerSubscriber(java.lang.String subscriber, Notifier notifier, java.lang.String eventPackage, java.lang.Object unmarshalledContent)
           
static java.lang.String[] getEventPackages()
           
 NotifyContent getNotifyContent(Subscription subscription, PresenceSubscriptionControlSbbInterface sbb)
           
 java.lang.String getSphere(java.lang.String notifier, PresenceSubscriptionControlSbbInterface sbb)
          interface used by rules processor to get sphere for a notifier
 void isSubscriberAuthorized(java.lang.String subscriber, java.lang.String subscriberDisplayName, Notifier notifier, SubscriptionKey key, int expires, java.lang.String content, java.lang.String contentType, java.lang.String contentSubtype, boolean eventList, java.lang.String presRulesAUID, java.lang.String presRulesDocumentName, javax.sip.ServerTransaction serverTransaction, PresenceSubscriptionControlSbbInterface sbb)
           
 void removingSubscription(Subscription subscription, java.lang.String presRulesAUID, java.lang.String presRulesDocumentName, PresenceSubscriptionControlSbbInterface sbb)
           
 void rulesetUpdated(DocumentSelector documentSelector, Ruleset ruleset, PresenceSubscriptionControlSbbInterface sbb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PresenceSubscriptionControl

public PresenceSubscriptionControl()
Method Detail

getEventPackages

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

isSubscriberAuthorized

public void isSubscriberAuthorized(java.lang.String subscriber,
                                   java.lang.String subscriberDisplayName,
                                   Notifier notifier,
                                   SubscriptionKey key,
                                   int expires,
                                   java.lang.String content,
                                   java.lang.String contentType,
                                   java.lang.String contentSubtype,
                                   boolean eventList,
                                   java.lang.String presRulesAUID,
                                   java.lang.String presRulesDocumentName,
                                   javax.sip.ServerTransaction serverTransaction,
                                   PresenceSubscriptionControlSbbInterface sbb)

removingSubscription

public void removingSubscription(Subscription subscription,
                                 java.lang.String presRulesAUID,
                                 java.lang.String presRulesDocumentName,
                                 PresenceSubscriptionControlSbbInterface sbb)

rulesetUpdated

public void rulesetUpdated(DocumentSelector documentSelector,
                           Ruleset ruleset,
                           PresenceSubscriptionControlSbbInterface sbb)

getSphere

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


getNotifyContent

public NotifyContent getNotifyContent(Subscription subscription,
                                      PresenceSubscriptionControlSbbInterface sbb)

filterContentPerSubscriber

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


Copyright © 2010. All Rights Reserved.