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

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

public class SipSubscriberNotificationHandler
extends java.lang.Object

Handles the notification of a SIP subscriber

Author:
martins

Constructor Summary
SipSubscriberNotificationHandler(SipSubscriptionHandler sipSubscriptionHandler)
           
 
Method Summary
 void createAndSendNotify(SubscriptionControlDataSource dataSource, Subscription subscription, net.java.slee.resource.sip.DialogActivity dialog, ImplementedSubscriptionControlSbbLocalObject childSbb)
           
 void notifySipSubscriber(NotifyContent notifyContent, Subscription subscription, javax.slee.ActivityContextInterface dialogACI, ImplementedSubscriptionControlSbbLocalObject childSbb)
          Notifies the subscriber due to a change of state by the notifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SipSubscriberNotificationHandler

public SipSubscriberNotificationHandler(SipSubscriptionHandler sipSubscriptionHandler)
Method Detail

notifySipSubscriber

public void notifySipSubscriber(NotifyContent notifyContent,
                                Subscription subscription,
                                javax.slee.ActivityContextInterface dialogACI,
                                ImplementedSubscriptionControlSbbLocalObject childSbb)
Notifies the subscriber due to a change of state by the notifier. Note that it only notifies if after filtering by subscriber, the notify content is different from previous notification.

Parameters:
notifyContent -
subscription -
dialogACI -
childSbb -

createAndSendNotify

public void createAndSendNotify(SubscriptionControlDataSource dataSource,
                                Subscription subscription,
                                net.java.slee.resource.sip.DialogActivity dialog,
                                ImplementedSubscriptionControlSbbLocalObject childSbb)
                         throws javax.sip.TransactionDoesNotExistException,
                                javax.sip.SipException,
                                java.text.ParseException
Throws:
javax.sip.TransactionDoesNotExistException
javax.sip.SipException
java.text.ParseException


Copyright © 2011. All Rights Reserved.