Package org.mobicents.slee.service.common

Examples of org.mobicents.slee.service.common.SimpleCallFlowState


  private void executeRequestState(RequestEvent event) {
    String callId = ((CallIdHeader) event.getRequest().getHeader(
        CallIdHeader.NAME)).getCallId();
    SessionAssociation sa = (SessionAssociation) cache.get(callId);
    SimpleCallFlowState simpleCallFlowState = getState(sa.getState());
    simpleCallFlowState.execute(event);
  }
View Full Code Here


  private void executeResponseState(ResponseEvent event) {
    String callId = ((CallIdHeader) event.getResponse().getHeader(
        CallIdHeader.NAME)).getCallId();
    SessionAssociation sa = (SessionAssociation) cache.get(callId);
    SimpleCallFlowState simpleCallFlowState = getState(sa.getState());
    simpleCallFlowState.execute(event);
  }
View Full Code Here

      session.setToBeCancelledClientTransaction(ct);
    }
  }

  private SimpleCallFlowState getState(String classNameForState) {
    SimpleCallFlowState simpleCallFlowState = null;
    try {
      Class innerCls = Class.forName(classNameForState);
      Constructor c = innerCls.getDeclaredConstructors()[0];
      simpleCallFlowState = (SimpleCallFlowState) c
          .newInstance(new Object[] { this });
View Full Code Here

TOP

Related Classes of org.mobicents.slee.service.common.SimpleCallFlowState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.