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

📄 _corbalistenerstub.java

📁 jtapi for telephone
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
  } // connectionInProgress      
  public void connectionSuspended (int callId, String address, int cause)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("connectionSuspended", false);
	   _out.write_long (callId);
	   _out.write_string (address);
	   _out.write_long (cause);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   connectionSuspended (callId, address, cause);
	} finally {
		_releaseReply (_in);
	}
  } // connectionSuspended      
  public void mediaPlayPause (String terminal, int index, int offset, int trigger)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("mediaPlayPause", false);
	   _out.write_string (terminal);
	   _out.write_long (index);
	   _out.write_long (offset);
	   _out.write_long (trigger);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   mediaPlayPause (terminal, index, offset, trigger);
	} finally {
		_releaseReply (_in);
	}
  } // mediaPlayPause      
  public void mediaPlayResume (String terminal, int trigger)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("mediaPlayResume", false);
	   _out.write_string (terminal);
	   _out.write_long (trigger);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   mediaPlayResume (terminal, trigger);
	} finally {
		_releaseReply (_in);
	}
  } // mediaPlayResume      
  public void mediaRecorderPause (String terminal, int duration, int trigger)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("mediaRecorderPause", false);
	   _out.write_string (terminal);
	   _out.write_long (duration);
	   _out.write_long (trigger);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   mediaRecorderPause (terminal, duration, trigger);
	} finally {
		_releaseReply (_in);
	}
  } // mediaRecorderPause      
  public void mediaRecorderResume (String terminal, int trigger)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("mediaRecorderResume", false);
	   _out.write_string (terminal);
	   _out.write_long (trigger);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   mediaRecorderResume (terminal, trigger);
	} finally {
		_releaseReply (_in);
	}
  } // mediaRecorderResume      
  public void mediaSDDetected (String terminal, int[] sigs)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("mediaSDDetected", false);
	   _out.write_string (terminal);
	   net.sourceforge.gjtapi.raw.remote.corba.LongArrayHelper.write (_out, sigs);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   mediaSDDetected (terminal, sigs);
	} finally {
		_releaseReply (_in);
	}
  } // mediaSDDetected        
  public void mediaSDOverflow (String terminal, int[] sigs)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("mediaSDOverflow", false);
	   _out.write_string (terminal);
	   net.sourceforge.gjtapi.raw.remote.corba.LongArrayHelper.write (_out, sigs);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   mediaSDOverflow (terminal, sigs);
	} finally {
		_releaseReply (_in);
	}
  } // mediaSDOverflow        
  public void mediaSDPatternMatched (String terminal, int[] sigs, int index)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("mediaSDPatternMatched", false);
	   _out.write_string (terminal);
	   net.sourceforge.gjtapi.raw.remote.corba.LongArrayHelper.write (_out, sigs);
	   _out.write_long (index);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   mediaSDPatternMatched (terminal, sigs, index);
	} finally {
		_releaseReply (_in);
	}
  } // mediaSDPatternMatched        
  public void providerPrivateData (org.omg.CORBA.Any data, int cause)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("providerPrivateData", false);
	   _out.write_any (data);
	   _out.write_long (cause);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   providerPrivateData (data, cause);
	} finally {
		_releaseReply (_in);
	}
  } // providerPrivateData      
  private void readObject (java.io.ObjectInputStream s)
  {
	 try 
	 {
	   String str = s.readUTF ();
	   org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init ().string_to_object (str);
	   org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
	   _set_delegate (delegate);
	 } catch (java.io.IOException e) {}
  }      
  public void terminalConnectionCreated (int callId, String address, String terminal, int cause)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("terminalConnectionCreated", false);
	   _out.write_long (callId);
	   _out.write_string (address);
	   _out.write_string (terminal);
	   _out.write_long (cause);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   terminalConnectionCreated (callId, address, terminal, cause);
	} finally {
		_releaseReply (_in);
	}
  } // terminalConnectionCreated      
  public void terminalConnectionDropped (int callId, String address, String terminal, int cause)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("terminalConnectionDropped", false);
	   _out.write_long (callId);
	   _out.write_string (address);
	   _out.write_string (terminal);
	   _out.write_long (cause);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   terminalConnectionDropped (callId, address, terminal, cause);
	} finally {
		_releaseReply (_in);
	}
  } // terminalConnectionDropped      
  public void terminalConnectionHeld (int callId, String address, String terminal, int cause)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("terminalConnectionHeld", false);
	   _out.write_long (callId);
	   _out.write_string (address);
	   _out.write_string (terminal);
	   _out.write_long (cause);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   terminalConnectionHeld (callId, address, terminal, cause);
	} finally {
		_releaseReply (_in);
	}
  } // terminalConnectionHeld      
  public void terminalConnectionRinging (int callId, String address, String terminal, int cause)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("terminalConnectionRinging", false);
	   _out.write_long (callId);
	   _out.write_string (address);
	   _out.write_string (terminal);
	   _out.write_long (cause);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   terminalConnectionRinging (callId, address, terminal, cause);
	} finally {
		_releaseReply (_in);
	}
  } // terminalConnectionRinging      
  public void terminalConnectionTalking (int callId, String address, String terminal, int cause)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("terminalConnectionTalking", false);
	   _out.write_long (callId);
	   _out.write_string (address);
	   _out.write_string (terminal);
	   _out.write_long (cause);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   terminalConnectionTalking (callId, address, terminal, cause);
	} finally {
		_releaseReply (_in);
	}
  } // terminalConnectionTalking      
  public void terminalPrivateData (String terminal, org.omg.CORBA.Any data, int cause)
  {
	org.omg.CORBA.portable.InputStream _in = null;
	try {
	   org.omg.CORBA.portable.OutputStream _out = _request ("terminalPrivateData", false);
	   _out.write_string (terminal);
	   _out.write_any (data);
	   _out.write_long (cause);
	   _in = _invoke (_out);
	} catch (org.omg.CORBA.portable.ApplicationException _ex) {
	   _in = _ex.getInputStream ();
	   String _id = _ex.getId ();
	   throw new org.omg.CORBA.MARSHAL (_id);
	} catch (org.omg.CORBA.portable.RemarshalException _rm) {
	   terminalPrivateData (terminal, data, cause);
	} finally {
		_releaseReply (_in);
	}
  } // terminalPrivateData      
  private void writeObject (java.io.ObjectOutputStream s)
  {
	 try 
	 {
	   String str = org.omg.CORBA.ORB.init ().object_to_string (this);
	   s.writeUTF (str);
	 } catch (java.io.IOException e) {}
  }      
} // class _CorbaListenerStub

⌨️ 快捷键说明

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