|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mobicents.slee.training.example7.CommonSbb
org.mobicents.slee.training.example7.BounceSbb
public abstract class BounceSbb
BounceSbb is a Sbb representing a message bounce service. BounceSbb 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, BounceSbb sends a message back to the originator. Event of type ANY is masked after every 15 seconds alternatively
| Constructor Summary | |
|---|---|
BounceSbb()
Creates a new instance of BounceSbb |
|
| Method Summary | |
|---|---|
abstract boolean |
getEventMasked()
|
abstract javax.slee.facilities.TimerID |
getTimerID()
|
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 |
onTimerEvent(javax.slee.facilities.TimerEvent event,
javax.slee.ActivityContextInterface aci)
|
abstract void |
setEventMasked(boolean eventMasked)
|
void |
setSbbContext(javax.slee.SbbContext context)
implements javax.slee.Sbb Please refer to JSLEE v1.1 Specification, Early Draft Review Page 54 for further information. |
abstract void |
setTimerID(javax.slee.facilities.TimerID value)
|
| Methods inherited from class org.mobicents.slee.training.example7.CommonSbb |
|---|
getMessageResourceAdaptorSbbInterface, getSbbContext, sbbActivate, sbbCreate, sbbExceptionThrown, sbbLoad, sbbPassivate, sbbPostCreate, sbbRemove, sbbRolledBack, sbbStore, unsetSbbContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BounceSbb()
| Method Detail |
|---|
public void setSbbContext(javax.slee.SbbContext context)
CommonSbb
setSbbContext in interface javax.slee.SbbsetSbbContext in class CommonSbb
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 onTimerEvent(javax.slee.facilities.TimerEvent event,
javax.slee.ActivityContextInterface aci)
public abstract void setTimerID(javax.slee.facilities.TimerID value)
public abstract javax.slee.facilities.TimerID getTimerID()
public abstract void setEventMasked(boolean eventMasked)
public abstract boolean getEventMasked()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||