org.mobicents.slee.sipevent.server.subscription.sip
Class NewSipSubscriptionHandler

java.lang.Object
  extended by org.mobicents.slee.sipevent.server.subscription.sip.NewSipSubscriptionHandler

public class NewSipSubscriptionHandler
extends java.lang.Object

Handles the creation of a new SIP subscription

Author:
martins

Constructor Summary
NewSipSubscriptionHandler(SipSubscriptionHandler sipSubscriptionHandler)
           
 
Method Summary
 void authorizeNewSipSubscription(javax.sip.RequestEvent event, javax.slee.ActivityContextInterface aci, 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, boolean eventList, javax.persistence.EntityManager entityManager, org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject childSbb)
          Requests authorization for the new sip subscription.
 void newSipSubscription(javax.sip.RequestEvent event, javax.slee.ActivityContextInterface aci, java.lang.String eventPackage, java.lang.String eventId, int expires, javax.persistence.EntityManager entityManager, org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject childSbb)
          Starts the process of handling a new sip subscription
 void newSipSubscriptionAuthorization(javax.sip.ServerTransaction serverTransaction, javax.slee.ActivityContextInterface serverTransactionACI, 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.persistence.EntityManager entityManager, org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject childSbb)
          Used by ImplementedSubscriptionControlSbbLocalObject to provide the authorization to a new sip subscription request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewSipSubscriptionHandler

public NewSipSubscriptionHandler(SipSubscriptionHandler sipSubscriptionHandler)
Method Detail

newSipSubscription

public void newSipSubscription(javax.sip.RequestEvent event,
                               javax.slee.ActivityContextInterface aci,
                               java.lang.String eventPackage,
                               java.lang.String eventId,
                               int expires,
                               javax.persistence.EntityManager entityManager,
                               org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject childSbb)
Starts the process of handling a new sip subscription

Parameters:
event -
aci -
eventPackage -
eventId -
expires -
entityManager -
childSbb -

authorizeNewSipSubscription

public void authorizeNewSipSubscription(javax.sip.RequestEvent event,
                                        javax.slee.ActivityContextInterface aci,
                                        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,
                                        boolean eventList,
                                        javax.persistence.EntityManager entityManager,
                                        org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject childSbb)
Requests authorization for the new sip subscription.

Parameters:
event -
aci -
subscriber -
subscriberDisplayName -
notifier -
key -
expires -
content -
contentType -
contentSubtype -
entityManager -
childSbb -

newSipSubscriptionAuthorization

public void newSipSubscriptionAuthorization(javax.sip.ServerTransaction serverTransaction,
                                            javax.slee.ActivityContextInterface serverTransactionACI,
                                            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.persistence.EntityManager entityManager,
                                            org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject childSbb)
Used by ImplementedSubscriptionControlSbbLocalObject to provide the authorization to a new sip subscription request.

Parameters:
event -
subscriber -
notifier -
subscriptionKey -
expires -
responseCode -
entityManager -
childSbb -


Copyright © 2009. All Rights Reserved.