|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mobicents.slee.training.example5.CommonSbb
org.mobicents.slee.training.example5.first.FirstBounceSbb
public abstract class FirstBounceSbb
FirstBounceSbb is a Sbb representing a message bounce service. FirstBounceSbb receives incoming MessageEvents from the underlying resource adaptor. According to the messages, it increases counter in the related activity. If the command "ANY" is received by the Sbb, FirstBounceSbb sends a message back to the originator. FirstBounceSbb fires org.mobicents.slee.resource.lab.RequestEvent event which acts as initial event for SecondBounceSbb.
| Constructor Summary | |
|---|---|
FirstBounceSbb()
Creates a new instance of FirstBounceSbb |
|
| 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 |
onAnyEvent(org.mobicents.slee.resource.lab.message.MessageEvent event,
javax.slee.ActivityContextInterface ac)
EventHandler method for incoming events of type "AnyEvent". |
void |
onEndEvent(org.mobicents.slee.resource.lab.message.MessageEvent event,
javax.slee.ActivityContextInterface ac)
EventHandler method for incoming events of type "EndEvent". |
void |
onInitEvent(org.mobicents.slee.resource.lab.message.MessageEvent event,
javax.slee.ActivityContextInterface ac)
EventHandler method for incoming events of type "InitEvent". |
void |
onReceiveMessage(org.mobicents.slee.training.example5.events.CustomEvent event,
javax.slee.ActivityContextInterface ac)
|
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 |
| Constructor Detail |
|---|
public FirstBounceSbb()
| Method Detail |
|---|
public void onAnyEvent(org.mobicents.slee.resource.lab.message.MessageEvent event,
javax.slee.ActivityContextInterface ac)
public void onEndEvent(org.mobicents.slee.resource.lab.message.MessageEvent event,
javax.slee.ActivityContextInterface ac)
public void onInitEvent(org.mobicents.slee.resource.lab.message.MessageEvent event,
javax.slee.ActivityContextInterface ac)
public void onReceiveMessage(org.mobicents.slee.training.example5.events.CustomEvent event,
javax.slee.ActivityContextInterface ac)
public abstract void fireSendMessage(org.mobicents.slee.training.example5.events.CustomEvent event,
javax.slee.ActivityContextInterface aci,
javax.slee.Address address)
public abstract javax.slee.ActivityContextInterface getNullActivity()
public abstract void setNullActivity(javax.slee.ActivityContextInterface aci)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||