/jni/MonoJavaBridge/android/generated/java/net/SocketImpl.cs

http://github.com/koush/androidmono · C# · 318 lines · 317 code · 1 blank · 0 comment · 23 complexity · 52f774c6caa799a332734d689f1b0ba0 MD5 · raw file

  1. namespace java.net
  2. {
  3. [global::MonoJavaBridge.JavaClass(typeof(global::java.net.SocketImpl_))]
  4. public abstract partial class SocketImpl : java.lang.Object, SocketOptions
  5. {
  6. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  7. static SocketImpl()
  8. {
  9. InitJNI();
  10. }
  11. protected SocketImpl(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  12. {
  13. }
  14. internal static global::MonoJavaBridge.MethodId _getOption13810;
  15. public abstract global::java.lang.Object getOption(int arg0);
  16. internal static global::MonoJavaBridge.MethodId _setOption13811;
  17. public abstract void setOption(int arg0, java.lang.Object arg1);
  18. internal static global::MonoJavaBridge.MethodId _toString13812;
  19. public override global::java.lang.String toString()
  20. {
  21. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  22. if (!IsClrObject)
  23. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.SocketImpl._toString13812)) as java.lang.String;
  24. else
  25. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.SocketImpl.staticClass, global::java.net.SocketImpl._toString13812)) as java.lang.String;
  26. }
  27. internal static global::MonoJavaBridge.MethodId _close13813;
  28. protected abstract void close();
  29. internal static global::MonoJavaBridge.MethodId _accept13814;
  30. protected abstract void accept(java.net.SocketImpl arg0);
  31. internal static global::MonoJavaBridge.MethodId _getPort13815;
  32. protected virtual int getPort()
  33. {
  34. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  35. if (!IsClrObject)
  36. return @__env.CallIntMethod(this.JvmHandle, global::java.net.SocketImpl._getPort13815);
  37. else
  38. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.SocketImpl.staticClass, global::java.net.SocketImpl._getPort13815);
  39. }
  40. internal static global::MonoJavaBridge.MethodId _create13816;
  41. protected abstract void create(bool arg0);
  42. internal static global::MonoJavaBridge.MethodId _getInputStream13817;
  43. protected abstract global::java.io.InputStream getInputStream();
  44. internal static global::MonoJavaBridge.MethodId _available13818;
  45. protected abstract int available();
  46. internal static global::MonoJavaBridge.MethodId _connect13819;
  47. protected abstract void connect(java.net.SocketAddress arg0, int arg1);
  48. internal static global::MonoJavaBridge.MethodId _connect13820;
  49. protected abstract void connect(java.net.InetAddress arg0, int arg1);
  50. internal static global::MonoJavaBridge.MethodId _connect13821;
  51. protected abstract void connect(java.lang.String arg0, int arg1);
  52. internal static global::MonoJavaBridge.MethodId _getOutputStream13822;
  53. protected abstract global::java.io.OutputStream getOutputStream();
  54. internal static global::MonoJavaBridge.MethodId _getFileDescriptor13823;
  55. protected virtual global::java.io.FileDescriptor getFileDescriptor()
  56. {
  57. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  58. if (!IsClrObject)
  59. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.SocketImpl._getFileDescriptor13823)) as java.io.FileDescriptor;
  60. else
  61. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.SocketImpl.staticClass, global::java.net.SocketImpl._getFileDescriptor13823)) as java.io.FileDescriptor;
  62. }
  63. internal static global::MonoJavaBridge.MethodId _listen13824;
  64. protected abstract void listen(int arg0);
  65. internal static global::MonoJavaBridge.MethodId _bind13825;
  66. protected abstract void bind(java.net.InetAddress arg0, int arg1);
  67. internal static global::MonoJavaBridge.MethodId _shutdownInput13826;
  68. protected virtual void shutdownInput()
  69. {
  70. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  71. if (!IsClrObject)
  72. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl._shutdownInput13826);
  73. else
  74. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl.staticClass, global::java.net.SocketImpl._shutdownInput13826);
  75. }
  76. internal static global::MonoJavaBridge.MethodId _shutdownOutput13827;
  77. protected virtual void shutdownOutput()
  78. {
  79. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  80. if (!IsClrObject)
  81. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl._shutdownOutput13827);
  82. else
  83. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl.staticClass, global::java.net.SocketImpl._shutdownOutput13827);
  84. }
  85. internal static global::MonoJavaBridge.MethodId _getInetAddress13828;
  86. protected virtual global::java.net.InetAddress getInetAddress()
  87. {
  88. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  89. if (!IsClrObject)
  90. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.SocketImpl._getInetAddress13828)) as java.net.InetAddress;
  91. else
  92. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.SocketImpl.staticClass, global::java.net.SocketImpl._getInetAddress13828)) as java.net.InetAddress;
  93. }
  94. internal static global::MonoJavaBridge.MethodId _getLocalPort13829;
  95. protected virtual int getLocalPort()
  96. {
  97. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  98. if (!IsClrObject)
  99. return @__env.CallIntMethod(this.JvmHandle, global::java.net.SocketImpl._getLocalPort13829);
  100. else
  101. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.SocketImpl.staticClass, global::java.net.SocketImpl._getLocalPort13829);
  102. }
  103. internal static global::MonoJavaBridge.MethodId _sendUrgentData13830;
  104. protected abstract void sendUrgentData(int arg0);
  105. internal static global::MonoJavaBridge.MethodId _setPerformancePreferences13831;
  106. protected virtual void setPerformancePreferences(int arg0, int arg1, int arg2)
  107. {
  108. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  109. if (!IsClrObject)
  110. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl._setPerformancePreferences13831, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2));
  111. else
  112. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl.staticClass, global::java.net.SocketImpl._setPerformancePreferences13831, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2));
  113. }
  114. internal static global::MonoJavaBridge.MethodId _supportsUrgentData13832;
  115. protected virtual bool supportsUrgentData()
  116. {
  117. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  118. if (!IsClrObject)
  119. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.SocketImpl._supportsUrgentData13832);
  120. else
  121. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.SocketImpl.staticClass, global::java.net.SocketImpl._supportsUrgentData13832);
  122. }
  123. internal static global::MonoJavaBridge.MethodId _SocketImpl13833;
  124. public SocketImpl() : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  125. {
  126. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  127. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.SocketImpl.staticClass, global::java.net.SocketImpl._SocketImpl13833);
  128. Init(@__env, handle);
  129. }
  130. private static void InitJNI()
  131. {
  132. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  133. global::java.net.SocketImpl.staticClass = @__env.NewGlobalRef(@__env.FindClass("java/net/SocketImpl"));
  134. global::java.net.SocketImpl._getOption13810 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "getOption", "(I)Ljava/lang/Object;");
  135. global::java.net.SocketImpl._setOption13811 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "setOption", "(ILjava/lang/Object;)V");
  136. global::java.net.SocketImpl._toString13812 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "toString", "()Ljava/lang/String;");
  137. global::java.net.SocketImpl._close13813 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "close", "()V");
  138. global::java.net.SocketImpl._accept13814 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "accept", "(Ljava/net/SocketImpl;)V");
  139. global::java.net.SocketImpl._getPort13815 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "getPort", "()I");
  140. global::java.net.SocketImpl._create13816 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "create", "(Z)V");
  141. global::java.net.SocketImpl._getInputStream13817 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "getInputStream", "()Ljava/io/InputStream;");
  142. global::java.net.SocketImpl._available13818 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "available", "()I");
  143. global::java.net.SocketImpl._connect13819 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "connect", "(Ljava/net/SocketAddress;I)V");
  144. global::java.net.SocketImpl._connect13820 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "connect", "(Ljava/net/InetAddress;I)V");
  145. global::java.net.SocketImpl._connect13821 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "connect", "(Ljava/lang/String;I)V");
  146. global::java.net.SocketImpl._getOutputStream13822 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "getOutputStream", "()Ljava/io/OutputStream;");
  147. global::java.net.SocketImpl._getFileDescriptor13823 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "getFileDescriptor", "()Ljava/io/FileDescriptor;");
  148. global::java.net.SocketImpl._listen13824 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "listen", "(I)V");
  149. global::java.net.SocketImpl._bind13825 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "bind", "(Ljava/net/InetAddress;I)V");
  150. global::java.net.SocketImpl._shutdownInput13826 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "shutdownInput", "()V");
  151. global::java.net.SocketImpl._shutdownOutput13827 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "shutdownOutput", "()V");
  152. global::java.net.SocketImpl._getInetAddress13828 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "getInetAddress", "()Ljava/net/InetAddress;");
  153. global::java.net.SocketImpl._getLocalPort13829 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "getLocalPort", "()I");
  154. global::java.net.SocketImpl._sendUrgentData13830 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "sendUrgentData", "(I)V");
  155. global::java.net.SocketImpl._setPerformancePreferences13831 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "setPerformancePreferences", "(III)V");
  156. global::java.net.SocketImpl._supportsUrgentData13832 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "supportsUrgentData", "()Z");
  157. global::java.net.SocketImpl._SocketImpl13833 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl.staticClass, "<init>", "()V");
  158. }
  159. }
  160. [global::MonoJavaBridge.JavaProxy(typeof(global::java.net.SocketImpl))]
  161. public sealed partial class SocketImpl_ : java.net.SocketImpl
  162. {
  163. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  164. static SocketImpl_()
  165. {
  166. InitJNI();
  167. }
  168. internal SocketImpl_(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  169. {
  170. }
  171. internal static global::MonoJavaBridge.MethodId _getOption13834;
  172. public override global::java.lang.Object getOption(int arg0)
  173. {
  174. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  175. if (!IsClrObject)
  176. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.SocketImpl_._getOption13834, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.lang.Object;
  177. else
  178. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._getOption13834, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.lang.Object;
  179. }
  180. internal static global::MonoJavaBridge.MethodId _setOption13835;
  181. public override void setOption(int arg0, java.lang.Object arg1)
  182. {
  183. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  184. if (!IsClrObject)
  185. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl_._setOption13835, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  186. else
  187. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._setOption13835, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  188. }
  189. internal static global::MonoJavaBridge.MethodId _close13836;
  190. protected override void close()
  191. {
  192. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  193. if (!IsClrObject)
  194. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl_._close13836);
  195. else
  196. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._close13836);
  197. }
  198. internal static global::MonoJavaBridge.MethodId _accept13837;
  199. protected override void accept(java.net.SocketImpl arg0)
  200. {
  201. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  202. if (!IsClrObject)
  203. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl_._accept13837, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  204. else
  205. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._accept13837, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  206. }
  207. internal static global::MonoJavaBridge.MethodId _create13838;
  208. protected override void create(bool arg0)
  209. {
  210. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  211. if (!IsClrObject)
  212. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl_._create13838, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  213. else
  214. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._create13838, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  215. }
  216. internal static global::MonoJavaBridge.MethodId _getInputStream13839;
  217. protected override global::java.io.InputStream getInputStream()
  218. {
  219. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  220. if (!IsClrObject)
  221. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.SocketImpl_._getInputStream13839)) as java.io.InputStream;
  222. else
  223. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._getInputStream13839)) as java.io.InputStream;
  224. }
  225. internal static global::MonoJavaBridge.MethodId _available13840;
  226. protected override int available()
  227. {
  228. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  229. if (!IsClrObject)
  230. return @__env.CallIntMethod(this.JvmHandle, global::java.net.SocketImpl_._available13840);
  231. else
  232. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._available13840);
  233. }
  234. internal static global::MonoJavaBridge.MethodId _connect13841;
  235. protected override void connect(java.net.SocketAddress arg0, int arg1)
  236. {
  237. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  238. if (!IsClrObject)
  239. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl_._connect13841, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  240. else
  241. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._connect13841, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  242. }
  243. internal static global::MonoJavaBridge.MethodId _connect13842;
  244. protected override void connect(java.net.InetAddress arg0, int arg1)
  245. {
  246. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  247. if (!IsClrObject)
  248. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl_._connect13842, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  249. else
  250. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._connect13842, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  251. }
  252. internal static global::MonoJavaBridge.MethodId _connect13843;
  253. protected override void connect(java.lang.String arg0, int arg1)
  254. {
  255. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  256. if (!IsClrObject)
  257. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl_._connect13843, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  258. else
  259. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._connect13843, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  260. }
  261. internal static global::MonoJavaBridge.MethodId _getOutputStream13844;
  262. protected override global::java.io.OutputStream getOutputStream()
  263. {
  264. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  265. if (!IsClrObject)
  266. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.SocketImpl_._getOutputStream13844)) as java.io.OutputStream;
  267. else
  268. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._getOutputStream13844)) as java.io.OutputStream;
  269. }
  270. internal static global::MonoJavaBridge.MethodId _listen13845;
  271. protected override void listen(int arg0)
  272. {
  273. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  274. if (!IsClrObject)
  275. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl_._listen13845, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  276. else
  277. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._listen13845, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  278. }
  279. internal static global::MonoJavaBridge.MethodId _bind13846;
  280. protected override void bind(java.net.InetAddress arg0, int arg1)
  281. {
  282. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  283. if (!IsClrObject)
  284. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl_._bind13846, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  285. else
  286. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._bind13846, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  287. }
  288. internal static global::MonoJavaBridge.MethodId _sendUrgentData13847;
  289. protected override void sendUrgentData(int arg0)
  290. {
  291. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  292. if (!IsClrObject)
  293. @__env.CallVoidMethod(this.JvmHandle, global::java.net.SocketImpl_._sendUrgentData13847, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  294. else
  295. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.SocketImpl_.staticClass, global::java.net.SocketImpl_._sendUrgentData13847, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  296. }
  297. private static void InitJNI()
  298. {
  299. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  300. global::java.net.SocketImpl_.staticClass = @__env.NewGlobalRef(@__env.FindClass("java/net/SocketImpl"));
  301. global::java.net.SocketImpl_._getOption13834 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "getOption", "(I)Ljava/lang/Object;");
  302. global::java.net.SocketImpl_._setOption13835 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "setOption", "(ILjava/lang/Object;)V");
  303. global::java.net.SocketImpl_._close13836 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "close", "()V");
  304. global::java.net.SocketImpl_._accept13837 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "accept", "(Ljava/net/SocketImpl;)V");
  305. global::java.net.SocketImpl_._create13838 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "create", "(Z)V");
  306. global::java.net.SocketImpl_._getInputStream13839 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "getInputStream", "()Ljava/io/InputStream;");
  307. global::java.net.SocketImpl_._available13840 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "available", "()I");
  308. global::java.net.SocketImpl_._connect13841 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "connect", "(Ljava/net/SocketAddress;I)V");
  309. global::java.net.SocketImpl_._connect13842 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "connect", "(Ljava/net/InetAddress;I)V");
  310. global::java.net.SocketImpl_._connect13843 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "connect", "(Ljava/lang/String;I)V");
  311. global::java.net.SocketImpl_._getOutputStream13844 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "getOutputStream", "()Ljava/io/OutputStream;");
  312. global::java.net.SocketImpl_._listen13845 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "listen", "(I)V");
  313. global::java.net.SocketImpl_._bind13846 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "bind", "(Ljava/net/InetAddress;I)V");
  314. global::java.net.SocketImpl_._sendUrgentData13847 = @__env.GetMethodIDNoThrow(global::java.net.SocketImpl_.staticClass, "sendUrgentData", "(I)V");
  315. }
  316. }
  317. }