示例#1
0
 /// <summary>
 /// One way invocation using a string address, address format example - 127.0.0.1:12200?key1=value1&key2=value2 <br>
 /// <para>
 /// Notice:<br>
 ///   <ol>
 ///   <li><b>DO NOT modify the request object concurrently when this method is called.</b></li>
 ///   <li>When do invocation, use the string address to find a available client connection, if none then throw exception</li>
 ///   <li>Unlike rpc client, address arguments takes no effect here, for rpc server will not create connection.</li>
 ///   </ol>
 ///
 /// </para>
 /// </summary>
 /// <param name="addr"> </param>
 /// <param name="request"> </param>
 /// <exception cref="RemotingException"> </exception>
 /// <exception cref="ThreadInterruptedException"> </exception>
 //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
 //ORIGINAL LINE: public void oneway(final String addr, final Object request) throws exception.RemotingException, ThreadInterruptedException
 //JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET:
 public virtual void oneway(string addr, object request)
 {
     check();
     rpcRemoting.oneway(addr, request, null);
 }
示例#2
0
 public override void oneway(string address, object request)
 {
     rpcRemoting.oneway(address, request, null);
 }