|
||||||||||
| 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,
Notifier notifier,
java.lang.String eventPackage,
java.lang.String eventId,
int authorizationCode)
|
abstract void |
fireNotifyEvent(NotifyEvent event,
javax.slee.ActivityContextInterface aci,
javax.slee.Address address)
Used to fire events to notify the right sbb entity of a state change |
abstract void |
fireTerminateSubscriptionEvent(TerminateSubscriptionEvent event,
javax.slee.ActivityContextInterface aci,
javax.slee.Address address)
Used to terminate a subscription. |
abstract void |
fireWInfoNotifyEvent(WInfoNotifyEvent event,
javax.slee.ActivityContextInterface aci,
javax.slee.Address address)
Used to fire events to notify the right sbb entity of a winfo state change |
javax.slee.facilities.ActivityContextNamingFacility |
getActivityContextNamingfacility()
|
javax.sip.address.AddressFactory |
getAddressFactory()
|
SubscriptionControlManagement |
getConfiguration()
Retrieves the current configuration for this component from an MBean |
abstract org.mobicents.slee.ChildRelationExt |
getEventListSubscriberChildRelation()
|
EventListSubscriptionHandler |
getEventListSubscriptionHandler()
|
javax.sip.header.HeaderFactory |
getHeaderFactory()
|
abstract org.mobicents.slee.ChildRelationExt |
getImplementedControlChildRelation()
|
ImplementedSubscriptionControlSbbLocalObject |
getImplementedControlChildSbb()
|
InternalSubscriptionHandler |
getInternalSubscriptionHandler()
|
javax.sip.message.MessageFactory |
getMessageFactory()
|
javax.slee.nullactivity.NullActivityContextInterfaceFactory |
getNullACIFactory()
|
javax.slee.nullactivity.NullActivityFactory |
getNullActivityFactory()
|
SubscriptionClientControlParentSbbLocalObject |
getParentSbb()
|
RLSServicesCacheActivityContextInterfaceFactory |
getRlsServicesCacheACIF()
|
RLSServicesCacheSbbInterface |
getRlsServicesCacheRASbbInterface()
|
javax.slee.SbbContext |
getSbbContext()
|
net.java.slee.resource.sip.SipActivityContextInterfaceFactory |
getSipActivityContextInterfaceFactory()
|
net.java.slee.resource.sip.SleeSipProvider |
getSipProvider()
|
SipSubscriptionHandler |
getSipSubscribeHandler()
|
Subscription |
getSubscription(SubscriptionKey key)
Requests the subscription for the specified key. |
javax.slee.facilities.TimerFacility |
getTimerFacility()
|
WInfoSubscriptionHandler |
getWInfoSubscriptionHandler()
|
void |
newSubscriptionAuthorization(java.lang.String subscriber,
java.lang.String subscriberDisplayName,
Notifier notifier,
SubscriptionKey key,
int expires,
int responseCode,
boolean eventList,
javax.sip.ServerTransaction serverTransaction)
|
void |
notifyEventListSubscriber(SubscriptionKey key,
MultiPart multiPart)
Requests notification on a specific subscription, providing the multipart content. |
void |
notifySubscriber(SubscriptionKey key,
NotifyContent notifyContent)
|
void |
notifySubscribers(java.lang.String notifier,
java.lang.String eventPackage,
NotifyContent notifyContent)
|
void |
onNotifyEvent(NotifyEvent 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 |
onRLSServicesAddedEvent(RLSServicesAddedEvent event,
javax.slee.ActivityContextInterface aci)
event handler for event that notifies a new rls service available |
void |
onServiceStartedEvent(javax.slee.serviceactivity.ServiceStartedEvent event,
javax.slee.ActivityContextInterface aci)
|
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 |
onTerminateSubscriptionEvent(TerminateSubscriptionEvent event,
javax.slee.ActivityContextInterface aci)
|
void |
onTimerEvent(javax.slee.facilities.TimerEvent event,
javax.slee.ActivityContextInterface aci)
a timer has occurred on a subscription |
void |
onWInfoNotifyEvent(WInfoNotifyEvent event,
javax.slee.ActivityContextInterface aci)
|
void |
removeSubscriptionData(SubscriptionControlDataSource dataSource,
Subscription subscription,
javax.sip.Dialog dialog,
javax.slee.ActivityContextInterface aci,
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()
|
void |
setSbbContext(javax.slee.SbbContext sbbContext)
SbbObject's context setting |
void |
setSubscriptionTimerAndPersistSubscription(Subscription subscription,
long delay,
javax.slee.ActivityContextInterface aci)
|
void |
subscribe(java.lang.String subscriber,
java.lang.String subscriberDisplayName,
java.lang.String notifierString,
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 |
| Constructor Detail |
|---|
public SubscriptionControlSbb()
| Method Detail |
|---|
public EventListSubscriptionHandler getEventListSubscriptionHandler()
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 RLSServicesCacheSbbInterface getRlsServicesCacheRASbbInterface()
public RLSServicesCacheActivityContextInterfaceFactory getRlsServicesCacheACIF()
public SubscriptionControlManagement getConfiguration()
public SubscriptionClientControlParentSbbLocalObject getParentSbb()
public abstract org.mobicents.slee.ChildRelationExt getImplementedControlChildRelation()
public ImplementedSubscriptionControlSbbLocalObject getImplementedControlChildSbb()
public abstract org.mobicents.slee.ChildRelationExt getEventListSubscriberChildRelation()
public void onRLSServicesAddedEvent(RLSServicesAddedEvent event,
javax.slee.ActivityContextInterface aci)
event - aci -
public void onTerminateSubscriptionEvent(TerminateSubscriptionEvent event,
javax.slee.ActivityContextInterface 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 onNotifyEvent(NotifyEvent event,
javax.slee.ActivityContextInterface aci)
public void onServiceStartedEvent(javax.slee.serviceactivity.ServiceStartedEvent event,
javax.slee.ActivityContextInterface aci)
public void onWInfoNotifyEvent(WInfoNotifyEvent event,
javax.slee.ActivityContextInterface aci)
public void newSubscriptionAuthorization(java.lang.String subscriber,
java.lang.String subscriberDisplayName,
Notifier notifier,
SubscriptionKey key,
int expires,
int responseCode,
boolean eventList,
javax.sip.ServerTransaction serverTransaction)
newSubscriptionAuthorization in interface ImplementedSubscriptionControlParent
public void notifySubscribers(java.lang.String notifier,
java.lang.String eventPackage,
NotifyContent notifyContent)
notifySubscribers in interface ImplementedSubscriptionControlParent
public void notifySubscriber(SubscriptionKey key,
NotifyContent notifyContent)
notifySubscriber in interface ImplementedSubscriptionControlParent
public void authorizationChanged(java.lang.String subscriber,
Notifier notifier,
java.lang.String eventPackage,
java.lang.String eventId,
int authorizationCode)
authorizationChanged in interface ImplementedSubscriptionControlParent
public void notifyEventListSubscriber(SubscriptionKey key,
MultiPart multiPart)
EventListSubscriberParent
notifyEventListSubscriber in interface EventListSubscriberParentpublic Subscription getSubscription(SubscriptionKey key)
EventListSubscriberParent
getSubscription in interface EventListSubscriberParent
public void subscribe(java.lang.String subscriber,
java.lang.String subscriberDisplayName,
java.lang.String notifierString,
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 SubscriptionClientControl
public void resubscribe(java.lang.String subscriber,
java.lang.String notifier,
java.lang.String eventPackage,
java.lang.String subscriptionId,
int expires)
resubscribe in interface SubscriptionClientControl
public void unsubscribe(java.lang.String subscriber,
java.lang.String notifier,
java.lang.String eventPackage,
java.lang.String subscriptionId)
unsubscribe in interface SubscriptionClientControl
public void setSubscriptionTimerAndPersistSubscription(Subscription subscription,
long delay,
javax.slee.ActivityContextInterface aci)
public void removeSubscriptionData(SubscriptionControlDataSource dataSource,
Subscription subscription,
javax.sip.Dialog dialog,
javax.slee.ActivityContextInterface aci,
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 fireNotifyEvent(NotifyEvent event,
javax.slee.ActivityContextInterface aci,
javax.slee.Address address)
event - aci - address -
public abstract void fireWInfoNotifyEvent(WInfoNotifyEvent event,
javax.slee.ActivityContextInterface aci,
javax.slee.Address address)
event - aci - address -
public abstract void fireTerminateSubscriptionEvent(TerminateSubscriptionEvent 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 | |||||||||