예제 #1
0
 public void SetNetworkTimeout(global::Java.Util.Concurrent.Executor executor, int milliseconds)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(executor).Add(milliseconds))
     {
         _cmj_fun45.CallVoid(this, cmj_jmargs);
     }
 }
예제 #2
0
 public void Abort(global::Java.Util.Concurrent.Executor executor)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[1];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(executor))
     {
         _cmj_fun0.CallVoid(this, cmj_jmargs);
     }
 }