appcallcontrolmanagerimpl.java

来自「中兴公司在parlayx开发方面的培训文档」· Java 代码 · 共 78 行

JAVA
78
字号
package samples.gccs.routecall;

import samples.fw.AppFWImpl;

public class AppCallControlManagerImpl 
	extends org.csapi.cc.gccs.IpAppCallControlManagerPOA
{
	public AppCallControlManagerImpl(){}
	public org.csapi.cc.gccs.IpAppCall callEventNotify(org.csapi.cc.gccs.TpCallIdentifier callReference, org.csapi.cc.gccs.TpCallEventInfo eventInfo, int assignmentID)
	{
		// to create a new thread to handle the callback so that
		// server is not hold up
		//
		
		(new Thread() 
			{
				public void run() {
          			TheApplication.callEventNotifyTask(
                      callReference, eventInfo, assignmentID);
          		}
          	}
        ).start();
        
		// This is the way in POA
		//          			
		IpAppCall appCall = org.csapi.cc.gccs.IpCallHelper.narrow(
			AppFWImpl.poa.servant_to_reference(new IpAppCallImpl());
			
    	return appCall;
   	}

	public void callAborted (int callReference){}
	public void callNotificationInterrupted () {}
	public void callNotificationContinued () {}
	public void callOverloadEncountered (int assignmentID) {}
	public void callOverloadCeased (int assignmentID) {}

   /**
    * CVS_REVISION = $Revision: 1.7 $, for revision tracking only.
    */
    public static final String CVS_REVISION = "$Revision: 1.7 $";
   /**
    * CVS_DATE = $Date: 2002/07/25 15:33:48 $, for revision tracking only.
    */
    public static final String CVS_DATE = "$Date: 2002/07/25 15:33:48 $";
   /**
    * CVS_AUTHOR = $Author: hni $, for revision tracking only.
    */
    public static final String CVS_AUTHOR = "$Author: hni $";
}

/*
 * $Log: AppCallControlManagerImpl.java,v $ * Revision 1.7  2002/07/25 15:33:48  hni * *** empty log message *** *
 * Revision 1.6  2002/07/09 20:23:30  hni
 * *** empty log message ***
 *
 * Revision 1.5  2002/03/12 23:16:20  hni
 * *** empty log message ***
 *
 * Revision 1.4  2002/03/10 18:01:19  hni
 * checkin 03092002
 *
 * Revision 1.3  2002/02/22 23:54:42  hni
 * add Stat Monitor
 *
 * Revision 1.2  2002/02/04 20:10:49  hni
 * *** empty log message ***
 *
 *
 */




⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?