|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbb
public abstract class SubscriptionControlSbb
Sbb to control subscriptions of sip events in a dialog
| Constructor Summary | |
|---|---|
SubscriptionControlSbb()
|
|
| Method Summary | |
|---|---|
void |
authorizationChanged(java.lang.String subscriber,
java.lang.String notifier,
java.lang.String eventPackage,
java.lang.String eventId,
int authorizationCode)
|
abstract void |
fireInternalNotifyEvent(org.mobicents.slee.sipevent.server.internal.InternalNotifyEvent event,
javax.slee.ActivityContextInterface aci,
javax.slee.Address address)
Used to fire events to notify the right sbb entity of a state change |
javax.slee.facilities.ActivityContextNamingFacility |
getActivityContextNamingfacility()
|
javax.sip.address.AddressFactory |
getAddressFactory()
|
SubscriptionControlManagementMBean |
getConfiguration()
Retrieves the current configuration for this component from an MBean |
javax.persistence.EntityManager |
getEntityManager()
|
abstract javax.slee.ChildRelation |
getEventListControlChildRelation()
|
org.mobicents.slee.sipevent.server.subscription.EventListSubscriptionControlSbbLocalObject |
getEventListControlChildSbb()
|
abstract org.mobicents.slee.sipevent.server.subscription.EventListSubscriptionControlSbbLocalObject |
getEventListControlChildSbbCMP()
|
javax.sip.header.HeaderFactory |
getHeaderFactory()
|
abstract javax.slee.ChildRelation |
getImplementedControlChildRelation()
|
org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject |
getImplementedControlChildSbb()
|
abstract org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject |
getImplementedControlChildSbbCMP()
|
InternalSubscriptionHandler |
getInternalSubscriptionHandler()
|
javax.sip.message.MessageFactory |
getMessageFactory()
|
javax.slee.nullactivity.NullActivityContextInterfaceFactory |
getNullACIFactory()
|
javax.slee.nullactivity.NullActivityFactory |
getNullActivityFactory()
|
abstract org.mobicents.slee.sipevent.server.subscription.SubscriptionClientControlParentSbbLocalObject |
getParentSbbCMP()
|
javax.slee.SbbContext |
getSbbContext()
|
net.java.slee.resource.sip.SipActivityContextInterfaceFactory |
getSipActivityContextInterfaceFactory()
|
net.java.slee.resource.sip.SleeSipProvider |
getSipProvider()
|
SipSubscriptionHandler |
getSipSubscribeHandler()
|
org.mobicents.slee.sipevent.server.subscription.pojo.Subscription |
getSubscription(org.mobicents.slee.sipevent.server.subscription.pojo.SubscriptionKey key)
|
javax.slee.facilities.TimerFacility |
getTimerFacility()
|
WInfoSubscriptionHandler |
getWInfoSubscriptionHandler()
|
void |
newRlsService(java.lang.String uri)
|
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)
|
void |
notifyEventListSubscriber(org.mobicents.slee.sipevent.server.subscription.pojo.SubscriptionKey key,
org.mobicents.slee.sipevent.server.subscription.eventlist.MultiPart multiPart)
|
void |
notifySubscriber(org.mobicents.slee.sipevent.server.subscription.pojo.SubscriptionKey key,
java.lang.Object content,
javax.sip.header.ContentTypeHeader contentTypeHeader)
|
void |
notifySubscribers(java.lang.String notifier,
java.lang.String eventPackage,
java.lang.Object content,
javax.sip.header.ContentTypeHeader contentTypeHeader)
|
void |
onActivityEndEvent(javax.slee.ActivityEndEvent event,
javax.slee.ActivityContextInterface aci)
If it's a service activity must be the one for this service. |
void |
onInternalNotifyEvent(org.mobicents.slee.sipevent.server.internal.InternalNotifyEvent event,
javax.slee.ActivityContextInterface aci)
|
void |
onResponseClientErrorEvent(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface aci)
An error as the final response of a NOTIFY sent by this server. |
void |
onResponseServerErrorEvent(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface aci)
An error as the final response of a NOTIFY sent by this server. |
void |
onServiceStartedEvent(javax.slee.serviceactivity.ServiceStartedEvent event,
javax.slee.ActivityContextInterface aci)
if event is for this service starts mbean |
void |
onSubscribeInDialog(javax.sip.RequestEvent event,
javax.slee.ActivityContextInterface aci)
event handler for in dialog subscribe |
void |
onSubscribeOutOfDialog(javax.sip.RequestEvent event,
javax.slee.ActivityContextInterface aci)
event handler for initial subscribe, which is out of dialog |
void |
onTimerEvent(javax.slee.facilities.TimerEvent event,
javax.slee.ActivityContextInterface aci)
a timer has occurred on a subscription |
void |
removeSubscriptionData(javax.persistence.EntityManager entityManager,
org.mobicents.slee.sipevent.server.subscription.pojo.Subscription subscription,
javax.sip.Dialog dialog,
javax.slee.ActivityContextInterface aci,
org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject childSbb)
Removes a subscription data. |
void |
resubscribe(java.lang.String subscriber,
java.lang.String notifier,
java.lang.String eventPackage,
java.lang.String subscriptionId,
int expires)
|
void |
sbbActivate()
|
void |
sbbCreate()
|
void |
sbbExceptionThrown(java.lang.Exception arg0,
java.lang.Object arg1,
javax.slee.ActivityContextInterface arg2)
|
void |
sbbLoad()
|
void |
sbbPassivate()
|
void |
sbbPostCreate()
|
void |
sbbRemove()
|
void |
sbbRolledBack(javax.slee.RolledBackContext arg0)
|
void |
sbbStore()
|
abstract void |
setEventListControlChildSbbCMP(org.mobicents.slee.sipevent.server.subscription.EventListSubscriptionControlSbbLocalObject value)
|
abstract void |
setImplementedControlChildSbbCMP(org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject value)
|
void |
setParentSbb(org.mobicents.slee.sipevent.server.subscription.SubscriptionClientControlParentSbbLocalObject parentSbb)
|
abstract void |
setParentSbbCMP(org.mobicents.slee.sipevent.server.subscription.SubscriptionClientControlParentSbbLocalObject value)
|
void |
setSbbContext(javax.slee.SbbContext sbbContext)
SbbObject's context setting |
void |
setSubscriptionTimerAndPersistSubscription(javax.persistence.EntityManager entityManager,
org.mobicents.slee.sipevent.server.subscription.pojo.Subscription subscription,
long delay,
javax.slee.ActivityContextInterface aci)
|
void |
subscribe(java.lang.String subscriber,
java.lang.String subscriberDisplayName,
java.lang.String notifier,
java.lang.String eventPackage,
java.lang.String subscriptionId,
int expires,
java.lang.String content,
java.lang.String contentType,
java.lang.String contentSubtype)
|
void |
unsetSbbContext()
|
void |
unsubscribe(java.lang.String subscriber,
java.lang.String notifier,
java.lang.String eventPackage,
java.lang.String subscriptionId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.slee.SbbLocalObject |
|---|
getSbbPriority, isIdentical, remove, setSbbPriority |
| Methods inherited from interface javax.slee.SbbLocalObject |
|---|
getSbbPriority, isIdentical, remove, setSbbPriority |
| Methods inherited from interface javax.slee.SbbLocalObject |
|---|
getSbbPriority, isIdentical, remove, setSbbPriority |
| Constructor Detail |
|---|
public SubscriptionControlSbb()
| Method Detail |
|---|
public SipSubscriptionHandler getSipSubscribeHandler()
public WInfoSubscriptionHandler getWInfoSubscriptionHandler()
public InternalSubscriptionHandler getInternalSubscriptionHandler()
public javax.slee.facilities.ActivityContextNamingFacility getActivityContextNamingfacility()
public javax.sip.address.AddressFactory getAddressFactory()
public javax.sip.header.HeaderFactory getHeaderFactory()
public javax.sip.message.MessageFactory getMessageFactory()
public javax.slee.nullactivity.NullActivityContextInterfaceFactory getNullACIFactory()
public javax.slee.nullactivity.NullActivityFactory getNullActivityFactory()
public javax.slee.SbbContext getSbbContext()
public net.java.slee.resource.sip.SipActivityContextInterfaceFactory getSipActivityContextInterfaceFactory()
public net.java.slee.resource.sip.SleeSipProvider getSipProvider()
public javax.slee.facilities.TimerFacility getTimerFacility()
public SubscriptionControlManagementMBean getConfiguration()
public javax.persistence.EntityManager getEntityManager()
public void setParentSbb(org.mobicents.slee.sipevent.server.subscription.SubscriptionClientControlParentSbbLocalObject parentSbb)
setParentSbb in interface org.mobicents.slee.sipevent.server.subscription.SubscriptionClientControlSbbLocalObjectpublic abstract org.mobicents.slee.sipevent.server.subscription.SubscriptionClientControlParentSbbLocalObject getParentSbbCMP()
public abstract void setParentSbbCMP(org.mobicents.slee.sipevent.server.subscription.SubscriptionClientControlParentSbbLocalObject value)
public abstract javax.slee.ChildRelation getImplementedControlChildRelation()
public abstract org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject getImplementedControlChildSbbCMP()
public abstract void setImplementedControlChildSbbCMP(org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject value)
public org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject getImplementedControlChildSbb()
public abstract javax.slee.ChildRelation getEventListControlChildRelation()
public abstract org.mobicents.slee.sipevent.server.subscription.EventListSubscriptionControlSbbLocalObject getEventListControlChildSbbCMP()
public abstract void setEventListControlChildSbbCMP(org.mobicents.slee.sipevent.server.subscription.EventListSubscriptionControlSbbLocalObject value)
public org.mobicents.slee.sipevent.server.subscription.EventListSubscriptionControlSbbLocalObject getEventListControlChildSbb()
public void onServiceStartedEvent(javax.slee.serviceactivity.ServiceStartedEvent event,
javax.slee.ActivityContextInterface aci)
public void onActivityEndEvent(javax.slee.ActivityEndEvent event,
javax.slee.ActivityContextInterface aci)
event - aci -
public void onSubscribeOutOfDialog(javax.sip.RequestEvent event,
javax.slee.ActivityContextInterface aci)
event - aci -
public void onSubscribeInDialog(javax.sip.RequestEvent event,
javax.slee.ActivityContextInterface aci)
event - aci -
public void onResponseClientErrorEvent(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface aci)
event - aci -
public void onResponseServerErrorEvent(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface aci)
event - aci -
public void onTimerEvent(javax.slee.facilities.TimerEvent event,
javax.slee.ActivityContextInterface aci)
event - aci -
public void onInternalNotifyEvent(org.mobicents.slee.sipevent.server.internal.InternalNotifyEvent event,
javax.slee.ActivityContextInterface aci)
public 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)
newSubscriptionAuthorization in interface org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlParentSbbLocalObject
public void notifySubscribers(java.lang.String notifier,
java.lang.String eventPackage,
java.lang.Object content,
javax.sip.header.ContentTypeHeader contentTypeHeader)
notifySubscribers in interface org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlParentSbbLocalObject
public void notifySubscriber(org.mobicents.slee.sipevent.server.subscription.pojo.SubscriptionKey key,
java.lang.Object content,
javax.sip.header.ContentTypeHeader contentTypeHeader)
notifySubscriber in interface org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlParentSbbLocalObject
public void authorizationChanged(java.lang.String subscriber,
java.lang.String notifier,
java.lang.String eventPackage,
java.lang.String eventId,
int authorizationCode)
authorizationChanged in interface org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlParentSbbLocalObject
public void notifyEventListSubscriber(org.mobicents.slee.sipevent.server.subscription.pojo.SubscriptionKey key,
org.mobicents.slee.sipevent.server.subscription.eventlist.MultiPart multiPart)
notifyEventListSubscriber in interface org.mobicents.slee.sipevent.server.subscription.EventListSubscriptionControlParentSbbLocalObjectpublic org.mobicents.slee.sipevent.server.subscription.pojo.Subscription getSubscription(org.mobicents.slee.sipevent.server.subscription.pojo.SubscriptionKey key)
getSubscription in interface org.mobicents.slee.sipevent.server.subscription.EventListSubscriptionControlParentSbbLocalObjectpublic void newRlsService(java.lang.String uri)
newRlsService in interface org.mobicents.slee.sipevent.server.subscription.EventListSubscriptionControlParentSbbLocalObject
public void subscribe(java.lang.String subscriber,
java.lang.String subscriberDisplayName,
java.lang.String notifier,
java.lang.String eventPackage,
java.lang.String subscriptionId,
int expires,
java.lang.String content,
java.lang.String contentType,
java.lang.String contentSubtype)
subscribe in interface org.mobicents.slee.sipevent.server.subscription.SubscriptionClientControlSbbLocalObject
public void resubscribe(java.lang.String subscriber,
java.lang.String notifier,
java.lang.String eventPackage,
java.lang.String subscriptionId,
int expires)
resubscribe in interface org.mobicents.slee.sipevent.server.subscription.SubscriptionClientControlSbbLocalObject
public void unsubscribe(java.lang.String subscriber,
java.lang.String notifier,
java.lang.String eventPackage,
java.lang.String subscriptionId)
unsubscribe in interface org.mobicents.slee.sipevent.server.subscription.SubscriptionClientControlSbbLocalObject
public void setSubscriptionTimerAndPersistSubscription(javax.persistence.EntityManager entityManager,
org.mobicents.slee.sipevent.server.subscription.pojo.Subscription subscription,
long delay,
javax.slee.ActivityContextInterface aci)
public void removeSubscriptionData(javax.persistence.EntityManager entityManager,
org.mobicents.slee.sipevent.server.subscription.pojo.Subscription subscription,
javax.sip.Dialog dialog,
javax.slee.ActivityContextInterface aci,
org.mobicents.slee.sipevent.server.subscription.ImplementedSubscriptionControlSbbLocalObject childSbb)
entityManager - subscription - dialog - aci - childSbb - public void setSbbContext(javax.slee.SbbContext sbbContext)
setSbbContext in interface javax.slee.Sbbpublic void sbbActivate()
sbbActivate in interface javax.slee.Sbb
public void sbbCreate()
throws javax.slee.CreateException
sbbCreate in interface javax.slee.Sbbjavax.slee.CreateException
public void sbbExceptionThrown(java.lang.Exception arg0,
java.lang.Object arg1,
javax.slee.ActivityContextInterface arg2)
sbbExceptionThrown in interface javax.slee.Sbbpublic void sbbLoad()
sbbLoad in interface javax.slee.Sbbpublic void sbbPassivate()
sbbPassivate in interface javax.slee.Sbb
public void sbbPostCreate()
throws javax.slee.CreateException
sbbPostCreate in interface javax.slee.Sbbjavax.slee.CreateExceptionpublic void sbbRemove()
sbbRemove in interface javax.slee.Sbbpublic void sbbRolledBack(javax.slee.RolledBackContext arg0)
sbbRolledBack in interface javax.slee.Sbbpublic void sbbStore()
sbbStore in interface javax.slee.Sbbpublic void unsetSbbContext()
unsetSbbContext in interface javax.slee.Sbb
public abstract void fireInternalNotifyEvent(org.mobicents.slee.sipevent.server.internal.InternalNotifyEvent event,
javax.slee.ActivityContextInterface aci,
javax.slee.Address address)
event - aci - address -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||