org.mobicents.slee.examples.diameter.openims
Class DiameterOpenIMSExampleSbb
java.lang.Object
org.mobicents.slee.examples.diameter.openims.DiameterOpenIMSExampleSbb
- All Implemented Interfaces:
- javax.slee.Sbb
public abstract class DiameterOpenIMSExampleSbb
- extends java.lang.Object
- implements javax.slee.Sbb
Example to show some integration between Mobicents and OpenIMS,
using the Diameter Sh interface to receive profile updates and SIP
messages as notifications.
- Author:
- Alexandre Mendonca , Bartosz Baranowski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiameterOpenIMSExampleSbb
public DiameterOpenIMSExampleSbb()
setSbbContext
public void setSbbContext(javax.slee.SbbContext context)
- Specified by:
setSbbContext in interface javax.slee.Sbb
unsetSbbContext
public void unsetSbbContext()
- Specified by:
unsetSbbContext in interface javax.slee.Sbb
sbbCreate
public void sbbCreate()
throws javax.slee.CreateException
- Specified by:
sbbCreate in interface javax.slee.Sbb
- Throws:
javax.slee.CreateException
sbbPostCreate
public void sbbPostCreate()
throws javax.slee.CreateException
- Specified by:
sbbPostCreate in interface javax.slee.Sbb
- Throws:
javax.slee.CreateException
sbbActivate
public void sbbActivate()
- Specified by:
sbbActivate in interface javax.slee.Sbb
sbbPassivate
public void sbbPassivate()
- Specified by:
sbbPassivate in interface javax.slee.Sbb
sbbRemove
public void sbbRemove()
- Specified by:
sbbRemove in interface javax.slee.Sbb
sbbLoad
public void sbbLoad()
- Specified by:
sbbLoad in interface javax.slee.Sbb
sbbStore
public void sbbStore()
- Specified by:
sbbStore in interface javax.slee.Sbb
sbbExceptionThrown
public void sbbExceptionThrown(java.lang.Exception exception,
java.lang.Object event,
javax.slee.ActivityContextInterface activity)
- Specified by:
sbbExceptionThrown in interface javax.slee.Sbb
sbbRolledBack
public void sbbRolledBack(javax.slee.RolledBackContext context)
- Specified by:
sbbRolledBack in interface javax.slee.Sbb
getSbbContext
protected javax.slee.SbbContext getSbbContext()
myInitialEventSelector
public javax.slee.InitialEventSelector myInitialEventSelector(javax.slee.InitialEventSelector ies)
- Generate a custom convergence name so that related events (with the same call
identifier, or session) will go to the same root SBB entity.
onServiceStartedEvent
public void onServiceStartedEvent(javax.slee.serviceactivity.ServiceStartedEvent event,
javax.slee.ActivityContextInterface aci)
onTimerEvent
public void onTimerEvent(javax.slee.facilities.TimerEvent event,
javax.slee.ActivityContextInterface aci)
onPushNotificationRequest
public void onPushNotificationRequest(net.java.slee.resource.diameter.sh.events.PushNotificationRequest pnr,
javax.slee.ActivityContextInterface aci)
on4xxResponse
public void on4xxResponse(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface aci)
onSubscriptionNotificationsAnswer
public void onSubscriptionNotificationsAnswer(net.java.slee.resource.diameter.sh.events.SubscribeNotificationsAnswer sna,
javax.slee.ActivityContextInterface aci)
onActivityEndEvent
public void onActivityEndEvent(javax.slee.ActivityEndEvent event,
javax.slee.ActivityContextInterface aci)
Copyright © 2011. All Rights Reserved.