org.mobicents.slee.examples.wakeup
Class WakeUpSbb

java.lang.Object
  extended by org.mobicents.slee.examples.wakeup.WakeUpSbb
All Implemented Interfaces:
javax.slee.Sbb

public abstract class WakeUpSbb
extends java.lang.Object
implements javax.slee.Sbb


Constructor Summary
WakeUpSbb()
           
 
Method Summary
abstract  WakeUpSbbActivityContextInterface asSbbActivityContextInterface(javax.slee.ActivityContextInterface aci)
          Retrieves the Sbb's view of the specified ACI.
abstract  javax.slee.ChildRelation getLocationChildRelation()
          Child relation to the location service
 void onMessageEvent(javax.sip.RequestEvent event, javax.slee.ActivityContextInterface aci)
          Event handler for the SIP MESSAGE from the UA
 void onTimerEvent(javax.slee.facilities.TimerEvent event, WakeUpSbbActivityContextInterface aci)
          Event handler from the timer event, which signals that a message must be sent back to the UA
 void sbbActivate()
           
 void sbbCreate()
           
 void sbbExceptionThrown(java.lang.Exception exception, java.lang.Object event, javax.slee.ActivityContextInterface activity)
           
 void sbbLoad()
           
 void sbbPassivate()
           
 void sbbPostCreate()
           
 void sbbRemove()
           
 void sbbRolledBack(javax.slee.RolledBackContext context)
           
 void sbbStore()
           
 void setSbbContext(javax.slee.SbbContext context)
           
 void unsetSbbContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WakeUpSbb

public WakeUpSbb()
Method Detail

setSbbContext

public void setSbbContext(javax.slee.SbbContext context)
Specified by:
setSbbContext 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

unsetSbbContext

public void unsetSbbContext()
Specified by:
unsetSbbContext in interface javax.slee.Sbb

getLocationChildRelation

public abstract javax.slee.ChildRelation getLocationChildRelation()
Child relation to the location service

Returns:

asSbbActivityContextInterface

public abstract WakeUpSbbActivityContextInterface asSbbActivityContextInterface(javax.slee.ActivityContextInterface aci)
Retrieves the Sbb's view of the specified ACI.

Parameters:
aci -
Returns:

onMessageEvent

public void onMessageEvent(javax.sip.RequestEvent event,
                           javax.slee.ActivityContextInterface aci)
Event handler for the SIP MESSAGE from the UA

Parameters:
event -
aci -

onTimerEvent

public void onTimerEvent(javax.slee.facilities.TimerEvent event,
                         WakeUpSbbActivityContextInterface aci)
Event handler from the timer event, which signals that a message must be sent back to the UA

Parameters:
event -
aci -


Copyright © 2009. All Rights Reserved.