⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 appserviceagreementmanagementimpl.java

📁 中兴公司在parlayx开发方面的培训文档
💻 JAVA
字号:
package smaples.fw;

public class AppServiceAgreementManagementImpl
	extends org.csapi.fw.fw_application.service_agreement.IpAppServiceAgreementManagementPOA
{
    boolean agreed = false;

	public AppServiceAgreementManagementImpl(){}

	public byte[] signServiceAgreement(String serviceToken, String agreementText,
			String signingAlgorithm) throws org.csapi.TpCommonExceptions, org.csapi.fw.P_INVALID_AGREEMENT_TEXT, org.csapi.fw.P_INVALID_SERVICE_TOKEN, org.csapi.fw.P_INVALID_SIGNING_ALGORITHM
	{
        agreed = true;
        AppFWImpl.svcAgreementText = agreementText;
		AppFWImpl.svcSigningAlgorithm = signingAlgorithm;
        final Object lock = AppFWImpl.getInstance();
        (new Thread() {
          public void run() {
            synchronized (lock) {
                    try {
                            lock.notify();
                    }
                    catch(Exception e) {
                            if (AppFWImpl.LogWriter.isLoggable(logLevel.ERROR)) AppFWImpl.LogWriter.error("",e);
                    }
            }
	      }
		}).start();
		return new byte[0]; // not to care for now
	}

	public void terminateServiceAgreement(String serviceToken, String terminationText, byte[] digitalSignature) throws org.csapi.TpCommonExceptions, org.csapi.fw.P_INVALID_SERVICE_TOKEN, org.csapi.fw.P_INVALID_SIGNATURE
	{
	}
}

⌨️ 快捷键说明

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