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

http://github.com/koush/androidmono · C# · 509 lines · 509 code · 0 blank · 0 comment · 41 complexity · 08afae5add469998721ff8376972fed0 MD5 · raw file

  1. namespace java.net
  2. {
  3. [global::MonoJavaBridge.JavaClass()]
  4. public partial class Socket : java.lang.Object
  5. {
  6. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  7. static Socket()
  8. {
  9. InitJNI();
  10. }
  11. protected Socket(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  12. {
  13. }
  14. internal static global::MonoJavaBridge.MethodId _toString13758;
  15. public override global::java.lang.String toString()
  16. {
  17. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  18. if (!IsClrObject)
  19. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.Socket._toString13758)) as java.lang.String;
  20. else
  21. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._toString13758)) as java.lang.String;
  22. }
  23. internal static global::MonoJavaBridge.MethodId _close13759;
  24. public virtual void close()
  25. {
  26. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  27. if (!IsClrObject)
  28. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._close13759);
  29. else
  30. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._close13759);
  31. }
  32. internal static global::MonoJavaBridge.MethodId _getPort13760;
  33. public virtual int getPort()
  34. {
  35. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  36. if (!IsClrObject)
  37. return @__env.CallIntMethod(this.JvmHandle, global::java.net.Socket._getPort13760);
  38. else
  39. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getPort13760);
  40. }
  41. internal static global::MonoJavaBridge.MethodId _getInputStream13761;
  42. public virtual global::java.io.InputStream getInputStream()
  43. {
  44. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  45. if (!IsClrObject)
  46. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.Socket._getInputStream13761)) as java.io.InputStream;
  47. else
  48. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getInputStream13761)) as java.io.InputStream;
  49. }
  50. internal static global::MonoJavaBridge.MethodId _getChannel13762;
  51. public virtual global::java.nio.channels.SocketChannel getChannel()
  52. {
  53. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  54. if (!IsClrObject)
  55. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.Socket._getChannel13762)) as java.nio.channels.SocketChannel;
  56. else
  57. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getChannel13762)) as java.nio.channels.SocketChannel;
  58. }
  59. internal static global::MonoJavaBridge.MethodId _connect13763;
  60. public virtual void connect(java.net.SocketAddress arg0, int arg1)
  61. {
  62. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  63. if (!IsClrObject)
  64. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._connect13763, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  65. else
  66. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._connect13763, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  67. }
  68. internal static global::MonoJavaBridge.MethodId _connect13764;
  69. public virtual void connect(java.net.SocketAddress arg0)
  70. {
  71. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  72. if (!IsClrObject)
  73. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._connect13764, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  74. else
  75. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._connect13764, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  76. }
  77. internal static global::MonoJavaBridge.MethodId _isClosed13765;
  78. public virtual bool isClosed()
  79. {
  80. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  81. if (!IsClrObject)
  82. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.Socket._isClosed13765);
  83. else
  84. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._isClosed13765);
  85. }
  86. internal static global::MonoJavaBridge.MethodId _getOutputStream13766;
  87. public virtual global::java.io.OutputStream getOutputStream()
  88. {
  89. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  90. if (!IsClrObject)
  91. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.Socket._getOutputStream13766)) as java.io.OutputStream;
  92. else
  93. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getOutputStream13766)) as java.io.OutputStream;
  94. }
  95. internal static global::MonoJavaBridge.MethodId _bind13767;
  96. public virtual void bind(java.net.SocketAddress arg0)
  97. {
  98. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  99. if (!IsClrObject)
  100. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._bind13767, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  101. else
  102. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._bind13767, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  103. }
  104. internal static global::MonoJavaBridge.MethodId _isConnected13768;
  105. public virtual bool isConnected()
  106. {
  107. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  108. if (!IsClrObject)
  109. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.Socket._isConnected13768);
  110. else
  111. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._isConnected13768);
  112. }
  113. internal static global::MonoJavaBridge.MethodId _getLocalSocketAddress13769;
  114. public virtual global::java.net.SocketAddress getLocalSocketAddress()
  115. {
  116. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  117. if (!IsClrObject)
  118. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.Socket._getLocalSocketAddress13769)) as java.net.SocketAddress;
  119. else
  120. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getLocalSocketAddress13769)) as java.net.SocketAddress;
  121. }
  122. internal static global::MonoJavaBridge.MethodId _shutdownInput13770;
  123. public virtual void shutdownInput()
  124. {
  125. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  126. if (!IsClrObject)
  127. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._shutdownInput13770);
  128. else
  129. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._shutdownInput13770);
  130. }
  131. internal static global::MonoJavaBridge.MethodId _shutdownOutput13771;
  132. public virtual void shutdownOutput()
  133. {
  134. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  135. if (!IsClrObject)
  136. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._shutdownOutput13771);
  137. else
  138. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._shutdownOutput13771);
  139. }
  140. internal static global::MonoJavaBridge.MethodId _setReceiveBufferSize13772;
  141. public virtual void setReceiveBufferSize(int arg0)
  142. {
  143. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  144. if (!IsClrObject)
  145. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._setReceiveBufferSize13772, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  146. else
  147. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._setReceiveBufferSize13772, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  148. }
  149. internal static global::MonoJavaBridge.MethodId _getReceiveBufferSize13773;
  150. public virtual int getReceiveBufferSize()
  151. {
  152. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  153. if (!IsClrObject)
  154. return @__env.CallIntMethod(this.JvmHandle, global::java.net.Socket._getReceiveBufferSize13773);
  155. else
  156. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getReceiveBufferSize13773);
  157. }
  158. internal static global::MonoJavaBridge.MethodId _setSoTimeout13774;
  159. public virtual void setSoTimeout(int arg0)
  160. {
  161. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  162. if (!IsClrObject)
  163. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._setSoTimeout13774, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  164. else
  165. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._setSoTimeout13774, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  166. }
  167. internal static global::MonoJavaBridge.MethodId _getSoTimeout13775;
  168. public virtual int getSoTimeout()
  169. {
  170. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  171. if (!IsClrObject)
  172. return @__env.CallIntMethod(this.JvmHandle, global::java.net.Socket._getSoTimeout13775);
  173. else
  174. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getSoTimeout13775);
  175. }
  176. internal static global::MonoJavaBridge.MethodId _setSendBufferSize13776;
  177. public virtual void setSendBufferSize(int arg0)
  178. {
  179. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  180. if (!IsClrObject)
  181. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._setSendBufferSize13776, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  182. else
  183. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._setSendBufferSize13776, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  184. }
  185. internal static global::MonoJavaBridge.MethodId _getSendBufferSize13777;
  186. public virtual int getSendBufferSize()
  187. {
  188. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  189. if (!IsClrObject)
  190. return @__env.CallIntMethod(this.JvmHandle, global::java.net.Socket._getSendBufferSize13777);
  191. else
  192. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getSendBufferSize13777);
  193. }
  194. internal static global::MonoJavaBridge.MethodId _getRemoteSocketAddress13778;
  195. public virtual global::java.net.SocketAddress getRemoteSocketAddress()
  196. {
  197. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  198. if (!IsClrObject)
  199. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.Socket._getRemoteSocketAddress13778)) as java.net.SocketAddress;
  200. else
  201. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getRemoteSocketAddress13778)) as java.net.SocketAddress;
  202. }
  203. internal static global::MonoJavaBridge.MethodId _isBound13779;
  204. public virtual bool isBound()
  205. {
  206. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  207. if (!IsClrObject)
  208. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.Socket._isBound13779);
  209. else
  210. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._isBound13779);
  211. }
  212. internal static global::MonoJavaBridge.MethodId _isOutputShutdown13780;
  213. public virtual bool isOutputShutdown()
  214. {
  215. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  216. if (!IsClrObject)
  217. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.Socket._isOutputShutdown13780);
  218. else
  219. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._isOutputShutdown13780);
  220. }
  221. internal static global::MonoJavaBridge.MethodId _isInputShutdown13781;
  222. public virtual bool isInputShutdown()
  223. {
  224. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  225. if (!IsClrObject)
  226. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.Socket._isInputShutdown13781);
  227. else
  228. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._isInputShutdown13781);
  229. }
  230. internal static global::MonoJavaBridge.MethodId _getInetAddress13782;
  231. public virtual global::java.net.InetAddress getInetAddress()
  232. {
  233. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  234. if (!IsClrObject)
  235. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.Socket._getInetAddress13782)) as java.net.InetAddress;
  236. else
  237. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getInetAddress13782)) as java.net.InetAddress;
  238. }
  239. internal static global::MonoJavaBridge.MethodId _getLocalAddress13783;
  240. public virtual global::java.net.InetAddress getLocalAddress()
  241. {
  242. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  243. if (!IsClrObject)
  244. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.Socket._getLocalAddress13783)) as java.net.InetAddress;
  245. else
  246. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getLocalAddress13783)) as java.net.InetAddress;
  247. }
  248. internal static global::MonoJavaBridge.MethodId _getLocalPort13784;
  249. public virtual int getLocalPort()
  250. {
  251. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  252. if (!IsClrObject)
  253. return @__env.CallIntMethod(this.JvmHandle, global::java.net.Socket._getLocalPort13784);
  254. else
  255. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getLocalPort13784);
  256. }
  257. internal static global::MonoJavaBridge.MethodId _setTcpNoDelay13785;
  258. public virtual void setTcpNoDelay(bool arg0)
  259. {
  260. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  261. if (!IsClrObject)
  262. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._setTcpNoDelay13785, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  263. else
  264. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._setTcpNoDelay13785, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  265. }
  266. internal static global::MonoJavaBridge.MethodId _getTcpNoDelay13786;
  267. public virtual bool getTcpNoDelay()
  268. {
  269. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  270. if (!IsClrObject)
  271. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.Socket._getTcpNoDelay13786);
  272. else
  273. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getTcpNoDelay13786);
  274. }
  275. internal static global::MonoJavaBridge.MethodId _setSoLinger13787;
  276. public virtual void setSoLinger(bool arg0, int arg1)
  277. {
  278. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  279. if (!IsClrObject)
  280. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._setSoLinger13787, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  281. else
  282. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._setSoLinger13787, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  283. }
  284. internal static global::MonoJavaBridge.MethodId _getSoLinger13788;
  285. public virtual int getSoLinger()
  286. {
  287. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  288. if (!IsClrObject)
  289. return @__env.CallIntMethod(this.JvmHandle, global::java.net.Socket._getSoLinger13788);
  290. else
  291. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getSoLinger13788);
  292. }
  293. internal static global::MonoJavaBridge.MethodId _sendUrgentData13789;
  294. public virtual void sendUrgentData(int arg0)
  295. {
  296. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  297. if (!IsClrObject)
  298. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._sendUrgentData13789, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  299. else
  300. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._sendUrgentData13789, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  301. }
  302. internal static global::MonoJavaBridge.MethodId _setOOBInline13790;
  303. public virtual void setOOBInline(bool arg0)
  304. {
  305. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  306. if (!IsClrObject)
  307. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._setOOBInline13790, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  308. else
  309. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._setOOBInline13790, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  310. }
  311. internal static global::MonoJavaBridge.MethodId _getOOBInline13791;
  312. public virtual bool getOOBInline()
  313. {
  314. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  315. if (!IsClrObject)
  316. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.Socket._getOOBInline13791);
  317. else
  318. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getOOBInline13791);
  319. }
  320. internal static global::MonoJavaBridge.MethodId _setKeepAlive13792;
  321. public virtual void setKeepAlive(bool arg0)
  322. {
  323. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  324. if (!IsClrObject)
  325. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._setKeepAlive13792, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  326. else
  327. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._setKeepAlive13792, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  328. }
  329. internal static global::MonoJavaBridge.MethodId _getKeepAlive13793;
  330. public virtual bool getKeepAlive()
  331. {
  332. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  333. if (!IsClrObject)
  334. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.Socket._getKeepAlive13793);
  335. else
  336. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getKeepAlive13793);
  337. }
  338. internal static global::MonoJavaBridge.MethodId _setTrafficClass13794;
  339. public virtual void setTrafficClass(int arg0)
  340. {
  341. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  342. if (!IsClrObject)
  343. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._setTrafficClass13794, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  344. else
  345. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._setTrafficClass13794, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  346. }
  347. internal static global::MonoJavaBridge.MethodId _getTrafficClass13795;
  348. public virtual int getTrafficClass()
  349. {
  350. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  351. if (!IsClrObject)
  352. return @__env.CallIntMethod(this.JvmHandle, global::java.net.Socket._getTrafficClass13795);
  353. else
  354. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getTrafficClass13795);
  355. }
  356. internal static global::MonoJavaBridge.MethodId _setReuseAddress13796;
  357. public virtual void setReuseAddress(bool arg0)
  358. {
  359. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  360. if (!IsClrObject)
  361. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._setReuseAddress13796, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  362. else
  363. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._setReuseAddress13796, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  364. }
  365. internal static global::MonoJavaBridge.MethodId _getReuseAddress13797;
  366. public virtual bool getReuseAddress()
  367. {
  368. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  369. if (!IsClrObject)
  370. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.Socket._getReuseAddress13797);
  371. else
  372. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._getReuseAddress13797);
  373. }
  374. internal static global::MonoJavaBridge.MethodId _setSocketImplFactory13798;
  375. public static void setSocketImplFactory(java.net.SocketImplFactory arg0)
  376. {
  377. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  378. @__env.CallStaticVoidMethod(java.net.Socket.staticClass, global::java.net.Socket._setSocketImplFactory13798, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  379. }
  380. internal static global::MonoJavaBridge.MethodId _setPerformancePreferences13799;
  381. public virtual void setPerformancePreferences(int arg0, int arg1, int arg2)
  382. {
  383. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  384. if (!IsClrObject)
  385. @__env.CallVoidMethod(this.JvmHandle, global::java.net.Socket._setPerformancePreferences13799, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2));
  386. else
  387. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.Socket.staticClass, global::java.net.Socket._setPerformancePreferences13799, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2));
  388. }
  389. internal static global::MonoJavaBridge.MethodId _Socket13800;
  390. public Socket() : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  391. {
  392. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  393. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.Socket.staticClass, global::java.net.Socket._Socket13800);
  394. Init(@__env, handle);
  395. }
  396. internal static global::MonoJavaBridge.MethodId _Socket13801;
  397. public Socket(java.net.Proxy arg0) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  398. {
  399. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  400. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.Socket.staticClass, global::java.net.Socket._Socket13801, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  401. Init(@__env, handle);
  402. }
  403. internal static global::MonoJavaBridge.MethodId _Socket13802;
  404. protected Socket(java.net.SocketImpl arg0) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  405. {
  406. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  407. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.Socket.staticClass, global::java.net.Socket._Socket13802, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  408. Init(@__env, handle);
  409. }
  410. internal static global::MonoJavaBridge.MethodId _Socket13803;
  411. public Socket(java.lang.String arg0, int arg1) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  412. {
  413. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  414. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.Socket.staticClass, global::java.net.Socket._Socket13803, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  415. Init(@__env, handle);
  416. }
  417. internal static global::MonoJavaBridge.MethodId _Socket13804;
  418. public Socket(java.net.InetAddress arg0, int arg1) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  419. {
  420. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  421. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.Socket.staticClass, global::java.net.Socket._Socket13804, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  422. Init(@__env, handle);
  423. }
  424. internal static global::MonoJavaBridge.MethodId _Socket13805;
  425. public Socket(java.lang.String arg0, int arg1, java.net.InetAddress arg2, int arg3) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  426. {
  427. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  428. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.Socket.staticClass, global::java.net.Socket._Socket13805, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3));
  429. Init(@__env, handle);
  430. }
  431. internal static global::MonoJavaBridge.MethodId _Socket13806;
  432. public Socket(java.net.InetAddress arg0, int arg1, java.net.InetAddress arg2, int arg3) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  433. {
  434. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  435. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.Socket.staticClass, global::java.net.Socket._Socket13806, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3));
  436. Init(@__env, handle);
  437. }
  438. internal static global::MonoJavaBridge.MethodId _Socket13807;
  439. public Socket(java.lang.String arg0, int arg1, bool arg2) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  440. {
  441. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  442. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.Socket.staticClass, global::java.net.Socket._Socket13807, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2));
  443. Init(@__env, handle);
  444. }
  445. internal static global::MonoJavaBridge.MethodId _Socket13808;
  446. public Socket(java.net.InetAddress arg0, int arg1, bool arg2) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  447. {
  448. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  449. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.Socket.staticClass, global::java.net.Socket._Socket13808, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2));
  450. Init(@__env, handle);
  451. }
  452. private static void InitJNI()
  453. {
  454. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  455. global::java.net.Socket.staticClass = @__env.NewGlobalRef(@__env.FindClass("java/net/Socket"));
  456. global::java.net.Socket._toString13758 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "toString", "()Ljava/lang/String;");
  457. global::java.net.Socket._close13759 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "close", "()V");
  458. global::java.net.Socket._getPort13760 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getPort", "()I");
  459. global::java.net.Socket._getInputStream13761 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getInputStream", "()Ljava/io/InputStream;");
  460. global::java.net.Socket._getChannel13762 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getChannel", "()Ljava/nio/channels/SocketChannel;");
  461. global::java.net.Socket._connect13763 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "connect", "(Ljava/net/SocketAddress;I)V");
  462. global::java.net.Socket._connect13764 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "connect", "(Ljava/net/SocketAddress;)V");
  463. global::java.net.Socket._isClosed13765 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "isClosed", "()Z");
  464. global::java.net.Socket._getOutputStream13766 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getOutputStream", "()Ljava/io/OutputStream;");
  465. global::java.net.Socket._bind13767 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "bind", "(Ljava/net/SocketAddress;)V");
  466. global::java.net.Socket._isConnected13768 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "isConnected", "()Z");
  467. global::java.net.Socket._getLocalSocketAddress13769 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getLocalSocketAddress", "()Ljava/net/SocketAddress;");
  468. global::java.net.Socket._shutdownInput13770 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "shutdownInput", "()V");
  469. global::java.net.Socket._shutdownOutput13771 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "shutdownOutput", "()V");
  470. global::java.net.Socket._setReceiveBufferSize13772 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "setReceiveBufferSize", "(I)V");
  471. global::java.net.Socket._getReceiveBufferSize13773 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getReceiveBufferSize", "()I");
  472. global::java.net.Socket._setSoTimeout13774 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "setSoTimeout", "(I)V");
  473. global::java.net.Socket._getSoTimeout13775 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getSoTimeout", "()I");
  474. global::java.net.Socket._setSendBufferSize13776 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "setSendBufferSize", "(I)V");
  475. global::java.net.Socket._getSendBufferSize13777 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getSendBufferSize", "()I");
  476. global::java.net.Socket._getRemoteSocketAddress13778 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getRemoteSocketAddress", "()Ljava/net/SocketAddress;");
  477. global::java.net.Socket._isBound13779 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "isBound", "()Z");
  478. global::java.net.Socket._isOutputShutdown13780 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "isOutputShutdown", "()Z");
  479. global::java.net.Socket._isInputShutdown13781 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "isInputShutdown", "()Z");
  480. global::java.net.Socket._getInetAddress13782 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getInetAddress", "()Ljava/net/InetAddress;");
  481. global::java.net.Socket._getLocalAddress13783 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getLocalAddress", "()Ljava/net/InetAddress;");
  482. global::java.net.Socket._getLocalPort13784 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getLocalPort", "()I");
  483. global::java.net.Socket._setTcpNoDelay13785 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "setTcpNoDelay", "(Z)V");
  484. global::java.net.Socket._getTcpNoDelay13786 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getTcpNoDelay", "()Z");
  485. global::java.net.Socket._setSoLinger13787 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "setSoLinger", "(ZI)V");
  486. global::java.net.Socket._getSoLinger13788 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getSoLinger", "()I");
  487. global::java.net.Socket._sendUrgentData13789 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "sendUrgentData", "(I)V");
  488. global::java.net.Socket._setOOBInline13790 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "setOOBInline", "(Z)V");
  489. global::java.net.Socket._getOOBInline13791 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getOOBInline", "()Z");
  490. global::java.net.Socket._setKeepAlive13792 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "setKeepAlive", "(Z)V");
  491. global::java.net.Socket._getKeepAlive13793 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getKeepAlive", "()Z");
  492. global::java.net.Socket._setTrafficClass13794 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "setTrafficClass", "(I)V");
  493. global::java.net.Socket._getTrafficClass13795 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getTrafficClass", "()I");
  494. global::java.net.Socket._setReuseAddress13796 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "setReuseAddress", "(Z)V");
  495. global::java.net.Socket._getReuseAddress13797 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "getReuseAddress", "()Z");
  496. global::java.net.Socket._setSocketImplFactory13798 = @__env.GetStaticMethodIDNoThrow(global::java.net.Socket.staticClass, "setSocketImplFactory", "(Ljava/net/SocketImplFactory;)V");
  497. global::java.net.Socket._setPerformancePreferences13799 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "setPerformancePreferences", "(III)V");
  498. global::java.net.Socket._Socket13800 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "<init>", "()V");
  499. global::java.net.Socket._Socket13801 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "<init>", "(Ljava/net/Proxy;)V");
  500. global::java.net.Socket._Socket13802 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "<init>", "(Ljava/net/SocketImpl;)V");
  501. global::java.net.Socket._Socket13803 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "<init>", "(Ljava/lang/String;I)V");
  502. global::java.net.Socket._Socket13804 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "<init>", "(Ljava/net/InetAddress;I)V");
  503. global::java.net.Socket._Socket13805 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "<init>", "(Ljava/lang/String;ILjava/net/InetAddress;I)V");
  504. global::java.net.Socket._Socket13806 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "<init>", "(Ljava/net/InetAddress;ILjava/net/InetAddress;I)V");
  505. global::java.net.Socket._Socket13807 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "<init>", "(Ljava/lang/String;IZ)V");
  506. global::java.net.Socket._Socket13808 = @__env.GetMethodIDNoThrow(global::java.net.Socket.staticClass, "<init>", "(Ljava/net/InetAddress;IZ)V");
  507. }
  508. }
  509. }