appccallimpl.java

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

JAVA
47
字号
package samples;

public class AppCCallImpl extends AppMMCallImpl
  implements org.csapi.cc.cccs.IpAppConfCallOperations
{
	public AppCCallImpl(){super();}

    public org.csapi.cc.mpccs.IpAppCallLeg partyJoined(
            int conferenceSessionID,
            org.csapi.cc.mpccs.TpCallLegIdentifier callLeg,
            org.csapi.cc.cccs.TpJoinEventInfo eventInfo)
    {
		// to create a new thread to handle the callback so that
		// server is not hold up
		//
		
		(new Thread() 
			{
				public void run() {
          			TheApplication.partyJoined(
                		conferenceSessionID, callLeg, eventInfo);
          		}
          	}
        ).start();

		// This is the way in POA
		//          			
		IpAppCallLeg leg = org.csapi.cc.mpccs.IpCallLegHelper.narrow(
			TheApplication.poa.servant_to_reference(new IpAppCallLegImpl());
    	return leg;
    }


    public void leaveMonitorRes (int conferenceSessionID, int callLeg)
    {
		TheApplication.leaveMonitorRes(conferenceSessionID, callLeg);
    }
}

/*
 * $Log: AppCCallImpl.java,v $ * Revision 1.1  2002/07/25 15:33:48  hni * *** empty log message *** *
 *
 */

⌨️ 快捷键说明

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