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

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

public class SipSubscriptionHandler
extends java.lang.Object

Handler for SIP SUBSCRIBE events.

Author:
martins

Field Summary
protected  SubscriptionControlSbb sbb
           
 
Constructor Summary
SipSubscriptionHandler(SubscriptionControlSbb sbb)
           
 
Method Summary
 boolean acceptsEventPackage(java.lang.String eventPackage, org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject childSbb)
          verifies if the specified event packaged is accepted
 javax.sip.message.Response addContactHeader(javax.sip.message.Response response)
           
 NewSipSubscriptionHandler getNewSipSubscriptionHandler()
           
 RefreshSipSubscriptionHandler getRefreshSipSubscriptionHandler()
           
 RemoveSipSubscriptionHandler getRemoveSipSubscriptionHandler()
           
 SipSubscriberNotificationHandler getSipSubscriberNotificationHandler()
           
 void processRequest(javax.sip.RequestEvent event, javax.slee.ActivityContextInterface aci)
          SIP SUBSCRIBE event processing
 void sendResponse(int responseCode, javax.sip.message.Request request, javax.sip.ServerTransaction serverTransaction, org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject childSbb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sbb

protected SubscriptionControlSbb sbb
Constructor Detail

SipSubscriptionHandler

public SipSubscriptionHandler(SubscriptionControlSbb sbb)
Method Detail

getNewSipSubscriptionHandler

public NewSipSubscriptionHandler getNewSipSubscriptionHandler()

getRefreshSipSubscriptionHandler

public RefreshSipSubscriptionHandler getRefreshSipSubscriptionHandler()

getRemoveSipSubscriptionHandler

public RemoveSipSubscriptionHandler getRemoveSipSubscriptionHandler()

getSipSubscriberNotificationHandler

public SipSubscriberNotificationHandler getSipSubscriberNotificationHandler()

processRequest

public void processRequest(javax.sip.RequestEvent event,
                           javax.slee.ActivityContextInterface aci)
SIP SUBSCRIBE event processing

Parameters:
event -
aci -

sendResponse

public void sendResponse(int responseCode,
                         javax.sip.message.Request request,
                         javax.sip.ServerTransaction serverTransaction,
                         org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject childSbb)

addContactHeader

public javax.sip.message.Response addContactHeader(javax.sip.message.Response response)
                                            throws java.text.ParseException
Throws:
java.text.ParseException

acceptsEventPackage

public boolean acceptsEventPackage(java.lang.String eventPackage,
                                   org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject childSbb)
verifies if the specified event packaged is accepted



Copyright © 2009. All Rights Reserved.