org.mobicents.slee.service.admin
Class AdminSbb

java.lang.Object
  extended by org.mobicents.slee.service.common.CommonSbb
      extended by org.mobicents.slee.service.admin.AdminSbb
All Implemented Interfaces:
javax.slee.Sbb

public abstract class AdminSbb
extends CommonSbb

Author:
baranowb, amit bhayani

Field Summary
 
Fields inherited from class org.mobicents.slee.service.common.CommonSbb
JBOSS_BIND_ADDRESS, MGCP_PEER_PORT, MGCP_PORT
 
Constructor Summary
AdminSbb()
          Creates a new instance of SecondBounceSbb
 
Method Summary
abstract  javax.slee.ChildRelation getCallControlSbbChild()
           
abstract  CallControlSbbLocalObject getChildSbbLocalObject()
           
abstract  org.mobicents.slee.service.events.CustomEvent getCustomEvent()
           
abstract  boolean getSendBye()
           
abstract  javax.slee.facilities.TimerID getTimerID()
           
abstract  java.lang.String getTtsString()
           
 void onBeforeOrderProcessed(org.mobicents.slee.service.events.CustomEvent event, javax.slee.ActivityContextInterface ac)
           
 void onCreateConnectionResponse(jain.protocol.ip.mgcp.message.CreateConnectionResponse event, javax.slee.ActivityContextInterface aci)
           
 void onNotificationRequestResponse(jain.protocol.ip.mgcp.message.NotificationRequestResponse event, javax.slee.ActivityContextInterface aci)
           
 void onNotifyRequest(jain.protocol.ip.mgcp.message.Notify event, javax.slee.ActivityContextInterface aci)
           
 void onOrderApproved(org.mobicents.slee.service.events.CustomEvent event, javax.slee.ActivityContextInterface ac)
           
 void onOrderCancelled(org.mobicents.slee.service.events.CustomEvent event, javax.slee.ActivityContextInterface ac)
           
 void onOrderPlaced(org.mobicents.slee.service.events.CustomEvent event, javax.slee.ActivityContextInterface ac)
           
 void onOrderRejected(org.mobicents.slee.service.events.CustomEvent event, javax.slee.ActivityContextInterface ac)
           
 void onTimerEvent(javax.slee.facilities.TimerEvent event, javax.slee.ActivityContextInterface aci)
           
 javax.slee.InitialEventSelector orderIdSelect(javax.slee.InitialEventSelector ies)
           
abstract  void setChildSbbLocalObject(CallControlSbbLocalObject childSbbLocalObject)
           
abstract  void setCustomEvent(org.mobicents.slee.service.events.CustomEvent customEvent)
           
 void setSbbContext(javax.slee.SbbContext sbbContext)
          implements javax.slee.Sbb Please refer to JSLEE v1.1 Specification, Early Draft Review Page 54 for further information.
abstract  void setSendBye(boolean isBye)
          Set to true after dtmf - that is, we can terminate after anouncement which is played after dtmf?
abstract  void setTimerID(javax.slee.facilities.TimerID value)
           
abstract  void setTtsString(java.lang.String s)
           
 
Methods inherited from class org.mobicents.slee.service.common.CommonSbb
getCacheUtility, getMgcpActivityContestInterfaceFactory, getMgcpProvider, getNullACIFactory, getNullActivityFactory, getSbbContext, getSipActivityContextInterfaceFactory, getSipProvider, getSipUtils, 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

AdminSbb

public AdminSbb()
Creates a new instance of SecondBounceSbb

Method Detail

setSbbContext

public void setSbbContext(javax.slee.SbbContext sbbContext)
Description copied from class: CommonSbb
implements javax.slee.Sbb Please refer to JSLEE v1.1 Specification, Early Draft Review Page 54 for further information.
The SLEE invokes this method after a new instance of the SBB abstract class is created. During this method, an SBB entity has not been assigned to the SBB object. The SBB object can take advantage of this method to allocate and initialize state or connect to resources that are to be held by the SBB object during its lifetime. Such state and resources cannot be specific to an SBB entity because the SBB object might be reused during its lifetime to serve multiple SBB entities.
This method indicates a transition from state "DOES NOT EXIST" to "POOLED" (see page 52)

Specified by:
setSbbContext in interface javax.slee.Sbb
Overrides:
setSbbContext in class CommonSbb

onOrderPlaced

public void onOrderPlaced(org.mobicents.slee.service.events.CustomEvent event,
                          javax.slee.ActivityContextInterface ac)

onOrderCancelled

public void onOrderCancelled(org.mobicents.slee.service.events.CustomEvent event,
                             javax.slee.ActivityContextInterface ac)

onOrderRejected

public void onOrderRejected(org.mobicents.slee.service.events.CustomEvent event,
                            javax.slee.ActivityContextInterface ac)

onOrderApproved

public void onOrderApproved(org.mobicents.slee.service.events.CustomEvent event,
                            javax.slee.ActivityContextInterface ac)

onBeforeOrderProcessed

public void onBeforeOrderProcessed(org.mobicents.slee.service.events.CustomEvent event,
                                   javax.slee.ActivityContextInterface ac)

onTimerEvent

public void onTimerEvent(javax.slee.facilities.TimerEvent event,
                         javax.slee.ActivityContextInterface aci)

onNotificationRequestResponse

public void onNotificationRequestResponse(jain.protocol.ip.mgcp.message.NotificationRequestResponse event,
                                          javax.slee.ActivityContextInterface aci)

onNotifyRequest

public void onNotifyRequest(jain.protocol.ip.mgcp.message.Notify event,
                            javax.slee.ActivityContextInterface aci)

onCreateConnectionResponse

public void onCreateConnectionResponse(jain.protocol.ip.mgcp.message.CreateConnectionResponse event,
                                       javax.slee.ActivityContextInterface aci)

orderIdSelect

public javax.slee.InitialEventSelector orderIdSelect(javax.slee.InitialEventSelector ies)

getCallControlSbbChild

public abstract javax.slee.ChildRelation getCallControlSbbChild()

setTimerID

public abstract void setTimerID(javax.slee.facilities.TimerID value)

getTimerID

public abstract javax.slee.facilities.TimerID getTimerID()

setCustomEvent

public abstract void setCustomEvent(org.mobicents.slee.service.events.CustomEvent customEvent)

getCustomEvent

public abstract org.mobicents.slee.service.events.CustomEvent getCustomEvent()

setSendBye

public abstract void setSendBye(boolean isBye)
Set to true after dtmf - that is, we can terminate after anouncement which is played after dtmf?

Parameters:
isBye -

getSendBye

public abstract boolean getSendBye()

setTtsString

public abstract void setTtsString(java.lang.String s)

getTtsString

public abstract java.lang.String getTtsString()

setChildSbbLocalObject

public abstract void setChildSbbLocalObject(CallControlSbbLocalObject childSbbLocalObject)

getChildSbbLocalObject

public abstract CallControlSbbLocalObject getChildSbbLocalObject()


Copyright © 2010. All Rights Reserved.