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  java.lang.String getBody()
           
abstract  javax.sip.header.CallIdHeader getCallId()
           
abstract  javax.slee.ChildRelation getLocationChildRelation()
          Child relation to the location service
abstract  javax.sip.address.Address getSender()
           
 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, javax.slee.ActivityContextInterface 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()
           
abstract  void setBody(java.lang.String body)
           
abstract  void setCallId(javax.sip.header.CallIdHeader callId)
           
 void setSbbContext(javax.slee.SbbContext context)
           
abstract  void setSender(javax.sip.address.Address sender)
           
 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:

setSender

public abstract void setSender(javax.sip.address.Address sender)

getSender

public abstract javax.sip.address.Address getSender()

setCallId

public abstract void setCallId(javax.sip.header.CallIdHeader callId)

getCallId

public abstract javax.sip.header.CallIdHeader getCallId()

setBody

public abstract void setBody(java.lang.String body)

getBody

public abstract java.lang.String getBody()

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,
                         javax.slee.ActivityContextInterface aci)
Event handler from the timer event, which signals that a message must be sent back to the UA

Parameters:
event -
aci -


Copyright © 2011. All Rights Reserved.