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

All Superinterfaces:
javax.slee.SbbLocalObject
All Known Subinterfaces:
SubscriptionControlSbbLocalObject

public interface ImplementedSubscriptionControlParentSbbLocalObject
extends javax.slee.SbbLocalObject

Callback interface of SubscriptionControlSbb, to receive info from ImplementedSubscriptionControlSbbLocalObject

Author:
martins

Method Summary
 void authorizationChanged(java.lang.String subscriber, java.lang.String 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, java.lang.String notifier, org.mobicents.slee.sipevent.server.subscription.pojo.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(org.mobicents.slee.sipevent.server.subscription.pojo.SubscriptionKey key, java.lang.Object content, javax.sip.header.ContentTypeHeader contentTypeHeader)
          Requests notification on a specific subscription, providing the content.
 void notifySubscribers(java.lang.String notifier, java.lang.String eventPackage, java.lang.Object content, javax.sip.header.ContentTypeHeader contentTypeHeader)
          Through this method the subscription control sbb can be informed that the state of the notifier has changed, allowing subscribers to be notified.
 
Methods inherited from interface javax.slee.SbbLocalObject
getSbbPriority, isIdentical, remove, setSbbPriority
 

Method Detail

authorizationChanged

void authorizationChanged(java.lang.String subscriber,
                          java.lang.String 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,
                                  java.lang.String notifier,
                                  org.mobicents.slee.sipevent.server.subscription.pojo.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,
                       java.lang.Object content,
                       javax.sip.header.ContentTypeHeader contentTypeHeader)
Through this method the subscription control sbb can be informed that the state of the notifier has changed, allowing subscribers to be notified.


notifySubscriber

void notifySubscriber(org.mobicents.slee.sipevent.server.subscription.pojo.SubscriptionKey key,
                      java.lang.Object content,
                      javax.sip.header.ContentTypeHeader contentTypeHeader)
Requests notification on a specific subscription, providing the content.

Parameters:
key -
content -
contentTypeHeader -


Copyright © 2009. All Rights Reserved.