org.mobicents.slee.training.example5.second
Class SecondBounceSbb
java.lang.Object
org.mobicents.slee.training.example5.CommonSbb
org.mobicents.slee.training.example5.second.SecondBounceSbb
- All Implemented Interfaces:
- javax.slee.Sbb
public abstract class SecondBounceSbb
- extends org.mobicents.slee.training.example5.CommonSbb
SecondBounceSbb is initalised when it receives event of type
org.mobicents.slee.resource.lab.RequestEvent. SecondBounceSbb creates a new
event of type org.mobicents.slee.resource.lab.ResponseEvent and fires it on
NullActivityContextInterface which is consumed by FirstBounceSbb
- Author:
- amit bhayani
|
Constructor Summary |
SecondBounceSbb()
Creates a new instance of SecondBounceSbb |
|
Method Summary |
abstract void |
fireSendMessage(org.mobicents.slee.training.example5.events.CustomEvent event,
javax.slee.ActivityContextInterface aci,
javax.slee.Address address)
|
abstract javax.slee.ActivityContextInterface |
getNullActivity()
|
void |
onReceiveMessage(org.mobicents.slee.training.example5.events.CustomEvent event,
javax.slee.ActivityContextInterface ac)
EventHandler method for incoming events of type
"org.mobicents.slee.resource.lab.RequestEvent". |
abstract void |
setNullActivity(javax.slee.ActivityContextInterface aci)
|
| Methods inherited from class org.mobicents.slee.training.example5.CommonSbb |
getMessageResourceAdaptorSbbInterface, getNullACIFactory, getNullActivityFactory, getSbbContext, sbbActivate, sbbCreate, sbbExceptionThrown, sbbLoad, sbbPassivate, sbbPostCreate, sbbRemove, sbbRolledBack, sbbStore, setSbbContext, unsetSbbContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecondBounceSbb
public SecondBounceSbb()
- Creates a new instance of SecondBounceSbb
onReceiveMessage
public void onReceiveMessage(org.mobicents.slee.training.example5.events.CustomEvent event,
javax.slee.ActivityContextInterface ac)
- EventHandler method for incoming events of type
"org.mobicents.slee.resource.lab.RequestEvent".
fireSendMessage
public abstract void fireSendMessage(org.mobicents.slee.training.example5.events.CustomEvent event,
javax.slee.ActivityContextInterface aci,
javax.slee.Address address)
getNullActivity
public abstract javax.slee.ActivityContextInterface getNullActivity()
setNullActivity
public abstract void setNullActivity(javax.slee.ActivityContextInterface aci)
Copyright © 2008. All Rights Reserved.