org.mobicents.slee.sipevent.server.subscription
Interface ImplementedSubscriptionControlParent

All Known Subinterfaces:
ImplementedSubscriptionControlParentSbbLocalObject

public interface ImplementedSubscriptionControlParent

Author:
martins

Method Summary
 void authorizationChanged(java.lang.String subscriber, Notifier notifier, java.lang.String eventPackage, java.lang.String eventId, int authorizationCode)
          Used by ImplementedSubscriptionControlSbbLocalObject to notify that the authorization of a subscription has changed
 void newSubscriptionAuthorization(java.lang.String subscriber, java.lang.String subscriberDisplayName, Notifier notifier, SubscriptionKey key, int expires, int responseCode, boolean eventList, javax.sip.ServerTransaction serverTransaction)
          Used by ImplementedSubscriptionControlSbbLocalObject to provide the authorization to a new subscription request.
 void notifySubscriber(SubscriptionKey key, NotifyContent notifyContent)
          Requests notification on a specific subscription, providing the content.
 void notifySubscribers(java.lang.String notifier, java.lang.String eventPackage, NotifyContent notifyContent)
          Through this method the subscription control sbb can be informed that the state of the notifier has changed, allowing subscribers to be notified.
 

Method Detail

authorizationChanged

void authorizationChanged(java.lang.String subscriber,
                          Notifier notifier,
                          java.lang.String eventPackage,
                          java.lang.String eventId,
                          int authorizationCode)
Used by ImplementedSubscriptionControlSbbLocalObject to notify that the authorization of a subscription has changed

Parameters:
subscriber -
notifier -
eventPackage -
eventId -
authorizationCode -

newSubscriptionAuthorization

void newSubscriptionAuthorization(java.lang.String subscriber,
                                  java.lang.String subscriberDisplayName,
                                  Notifier notifier,
                                  SubscriptionKey key,
                                  int expires,
                                  int responseCode,
                                  boolean eventList,
                                  javax.sip.ServerTransaction serverTransaction)
Used by ImplementedSubscriptionControlSbbLocalObject to provide the authorization to a new subscription request.

Parameters:
subscriber -
notifier -
key -
expires -
responseCode -
serverTransaction - if the subscription request was for a sip subscription then this param must provide the server transaction provided on the authorization request

notifySubscribers

void notifySubscribers(java.lang.String notifier,
                       java.lang.String eventPackage,
                       NotifyContent notifyContent)
Through this method the subscription control sbb can be informed that the state of the notifier has changed, allowing subscribers to be notified.

Parameters:
notifier -
eventPackage -
notifyContent -

notifySubscriber

void notifySubscriber(SubscriptionKey key,
                      NotifyContent notifyContent)
Requests notification on a specific subscription, providing the content.

Parameters:
key -
notifyContent -


Copyright © 2011. All Rights Reserved.