|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mobicents.slee.training.example6.CommonSbb
org.mobicents.slee.training.example6.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.
| Constructor Summary | |
|---|---|
BounceSbb()
Creates a new instance of BounceSbb |
|
| Method Summary | |
|---|---|
abstract BounceSbbUsage |
getDefaultSbbUsageParameterSet()
|
abstract long |
getLastTimeAnyMessageReceived()
|
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 |
sbbPostCreate()
implements javax.slee.Sbb Please refer to JSLEE v1.1 Specification, Early Draft Review Page 55 for further information. |
abstract void |
setLastTimeAnyMessageReceived(long time)
|
| Methods inherited from class org.mobicents.slee.training.example6.CommonSbb |
|---|
getMessageResourceAdaptorSbbInterface, getSbbContext, sbbActivate, sbbCreate, sbbExceptionThrown, sbbLoad, sbbPassivate, 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 BounceSbb()
| Method Detail |
|---|
public void sbbPostCreate()
throws javax.slee.CreateException
CommonSbb
sbbPostCreate in interface javax.slee.SbbsbbPostCreate in class CommonSbbjavax.slee.CreateException
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 abstract BounceSbbUsage getDefaultSbbUsageParameterSet()
public abstract long getLastTimeAnyMessageReceived()
public abstract void setLastTimeAnyMessageReceived(long time)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||