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

📄 _corbaproviderimplbase.java

📁 jtapi for telephone
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
		   net.sourceforge.gjtapi.raw.remote.corba.ResourceUnavailableExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.MethodNotSupportedEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.MethodNotSupportedExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.RawStateEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.RawStateExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 19:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/initialize
	   {
		 try {
		   net.sourceforge.gjtapi.raw.remote.corba.StringEntry props[] = net.sourceforge.gjtapi.raw.remote.corba.StringDictionaryHelper.read (in);
		   this.initialize (props);
		   out = rh.createReply();
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.ProviderUnavailableEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.ProviderUnavailableExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 20:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/isMediaTerminal
	   {
		 String terminal = in.read_string ();
		 boolean __result = false;
		 __result = this.isMediaTerminal (terminal);
		 out = rh.createReply();
		 out.write_boolean (__result);
		 break;
	   }

	   case 21:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/join
	   {
		 try {
		   int callId1 = in.read_long ();
		   int callId2 = in.read_long ();
		   String address = in.read_string ();
		   String terminal = in.read_string ();
		   int __result = (int)0;
		   __result = this.join (callId1, callId2, address, terminal);
		   out = rh.createReply();
		   out.write_long (__result);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.RawStateEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.RawStateExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.InvalidArgumentEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.InvalidArgumentExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.MethodNotSupportedEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.MethodNotSupportedExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.PrivilegeViolationEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.PrivilegeViolationExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.ResourceUnavailableEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.ResourceUnavailableExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 22:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/play
	   {
		 try {
		   String terminal = in.read_string ();
		   String streamIds[] = net.sourceforge.gjtapi.raw.remote.corba.StringArrayHelper.read (in);
		   int offset = in.read_long ();
		   net.sourceforge.gjtapi.raw.remote.corba.LongEntry rtcs[] = net.sourceforge.gjtapi.raw.remote.corba.LongDictionaryHelper.read (in);
		   net.sourceforge.gjtapi.raw.remote.corba.LongEntry optArgs[] = net.sourceforge.gjtapi.raw.remote.corba.LongDictionaryHelper.read (in);
		   this.play (terminal, streamIds, offset, rtcs, optArgs);
		   out = rh.createReply();
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.MediaResourceEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.MediaResourceExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 23:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/record
	   {
		 try {
		   String terminal = in.read_string ();
		   String streamId = in.read_string ();
		   net.sourceforge.gjtapi.raw.remote.corba.LongEntry rtcs[] = net.sourceforge.gjtapi.raw.remote.corba.LongDictionaryHelper.read (in);
		   net.sourceforge.gjtapi.raw.remote.corba.LongEntry optArgs[] = net.sourceforge.gjtapi.raw.remote.corba.LongDictionaryHelper.read (in);
		   this.record (terminal, streamId, rtcs, optArgs);
		   out = rh.createReply();
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.MediaResourceEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.MediaResourceExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 24:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/release
	   {
		 try {
		   String address = in.read_string ();
		   int callId = in.read_long ();
		   this.release (address, callId);
		   out = rh.createReply();
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.RawStateEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.RawStateExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.MethodNotSupportedEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.MethodNotSupportedExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.PrivilegeViolationEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.PrivilegeViolationExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.ResourceUnavailableEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.ResourceUnavailableExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 25:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/releaseCallId
	   {
		 int callId = in.read_long ();
		 this.releaseCallId (callId);
		 out = rh.createReply();
		 break;
	   }

	   case 26:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/removeListener
	   {
		 net.sourceforge.gjtapi.raw.remote.corba.CorbaListener cl = net.sourceforge.gjtapi.raw.remote.corba.CorbaListenerHelper.read (in);
		 this.removeListener (cl);
		 out = rh.createReply();
		 break;
	   }

	   case 27:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/reportCallsOnAddress
	   {
		 try {
		   String address = in.read_string ();
		   boolean flag = in.read_boolean ();
		   this.reportCallsOnAddress (address, flag);
		   out = rh.createReply();
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.InvalidArgumentEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.InvalidArgumentExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.ResourceUnavailableEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.ResourceUnavailableExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 28:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/reportCallsOnTerminal
	   {
		 try {
		   String terminal = in.read_string ();
		   boolean flag = in.read_boolean ();
		   this.reportCallsOnTerminal (terminal, flag);
		   out = rh.createReply();
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.InvalidArgumentEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.InvalidArgumentExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.ResourceUnavailableEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.ResourceUnavailableExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 29:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/reserveCallId
	   {
		 try {
		   String address = in.read_string ();
		   int __result = (int)0;
		   __result = this.reserveCallId (address);
		   out = rh.createReply();
		   out.write_long (__result);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.InvalidArgumentEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.InvalidArgumentExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 30:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/retrieveSignals
	   {
		 try {
		   String terminal = in.read_string ();
		   int num = in.read_long ();
		   int patterns[] = net.sourceforge.gjtapi.raw.remote.corba.LongArrayHelper.read (in);
		   net.sourceforge.gjtapi.raw.remote.corba.LongEntry rtcs[] = net.sourceforge.gjtapi.raw.remote.corba.LongDictionaryHelper.read (in);
		   net.sourceforge.gjtapi.raw.remote.corba.LongEntry optArgs[] = net.sourceforge.gjtapi.raw.remote.corba.LongDictionaryHelper.read (in);
		   net.sourceforge.gjtapi.raw.remote.corba.DetectEvent __result = null;
		   __result = this.retrieveSignals (terminal, num, patterns, rtcs, optArgs);
		   out = rh.createReply();
		   net.sourceforge.gjtapi.raw.remote.corba.DetectEventHelper.write (out, __result);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.MediaResourceEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.MediaResourceExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 31:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/sendPrivateData
	   {
		 try {
		   int callId = in.read_long ();
		   String address = in.read_string ();
		   String terminal = in.read_string ();
		   org.omg.CORBA.Any data = in.read_any ();
		   org.omg.CORBA.Any __result = null;
		   __result = this.sendPrivateData (callId, address, terminal, data);
		   out = rh.createReply();
		   out.write_any (__result);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.NotSerializableEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.NotSerializableExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 32:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/sendSignals
	   {
		 try {
		   String terminal = in.read_string ();
		   int syms[] = net.sourceforge.gjtapi.raw.remote.corba.LongArrayHelper.read (in);
		   net.sourceforge.gjtapi.raw.remote.corba.LongEntry rtcs[] = net.sourceforge.gjtapi.raw.remote.corba.LongDictionaryHelper.read (in);
		   net.sourceforge.gjtapi.raw.remote.corba.LongEntry optArgs[] = net.sourceforge.gjtapi.raw.remote.corba.LongDictionaryHelper.read (in);
		   this.sendSignals (terminal, syms, rtcs, optArgs);
		   out = rh.createReply();
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.MediaResourceEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.MediaResourceExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 33:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/setLoadControl
	   {
		 try {
		   String startAddr = in.read_string ();
		   String endAddr = in.read_string ();
		   double duration = in.read_double ();
		   double admissionRate = in.read_double ();
		   double interval = in.read_double ();
		   int treatment[] = net.sourceforge.gjtapi.raw.remote.corba.LongArrayHelper.read (in);
		   this.setLoadControl (startAddr, endAddr, duration, admissionRate, interval, treatment);
		   out = rh.createReply();
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.MethodNotSupportedEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.MethodNotSupportedExHelper.write (out, __ex);
		 }
		 break;
	   }

	   case 34:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/setPrivateData
	   {
		 int callId = in.read_long ();
		 String address = in.read_string ();
		 String terminal = in.read_string ();
		 org.omg.CORBA.Any data = in.read_any ();
		 this.setPrivateData (callId, address, terminal, data);
		 out = rh.createReply();
		 break;
	   }

	   case 35:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/shutdown
	   {
		 this.shutdown ();
		 out = rh.createReply();
		 break;
	   }

	   case 36:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/stop
	   {
		 String terminal = in.read_string ();
		 this.stop (terminal);
		 out = rh.createReply();
		 break;
	   }

	   case 37:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/stopReportingCall
	   {
		 int callId = in.read_long ();
		 boolean __result = false;
		 __result = this.stopReportingCall (callId);
		 out = rh.createReply();
		 out.write_boolean (__result);
		 break;
	   }

	   case 38:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/triggerRTC
	   {
		 String terminal = in.read_string ();
		 int action = in.read_long ();
		 this.triggerRTC (terminal, action);
		 out = rh.createReply();
		 break;
	   }

	   case 39:  // com/uforce/jtapi/generic/raw/remote/corba/CorbaProvider/unHold
	   {
		 try {
		   int callId = in.read_long ();
		   String address = in.read_string ();
		   String term = in.read_string ();
		   this.unHold (callId, address, term);
		   out = rh.createReply();
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.RawStateEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.RawStateExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.MethodNotSupportedEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.MethodNotSupportedExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.PrivilegeViolationEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.PrivilegeViolationExHelper.write (out, __ex);
		 } catch (net.sourceforge.gjtapi.raw.remote.corba.ResourceUnavailableEx __ex) {
		   out = rh.createExceptionReply ();
		   net.sourceforge.gjtapi.raw.remote.corba.ResourceUnavailableExHelper.write (out, __ex);
		 }
		 break;
	   }

	   default:
		 throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
	}

	return out;
  } // _invoke          
} // class _CorbaProviderImplBase

⌨️ 快捷键说明

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