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

http://github.com/koush/androidmono · C# · 357 lines · 357 code · 0 blank · 0 comment · 29 complexity · 3d278c907d7eab3f552b66a249db007c MD5 · raw file

  1. namespace java.net
  2. {
  3. [global::MonoJavaBridge.JavaClass()]
  4. public partial class DatagramSocket : java.lang.Object
  5. {
  6. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  7. static DatagramSocket()
  8. {
  9. InitJNI();
  10. }
  11. protected DatagramSocket(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  12. {
  13. }
  14. internal static global::MonoJavaBridge.MethodId _close13603;
  15. public virtual void close()
  16. {
  17. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  18. if (!IsClrObject)
  19. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._close13603);
  20. else
  21. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._close13603);
  22. }
  23. internal static global::MonoJavaBridge.MethodId _send13604;
  24. public virtual void send(java.net.DatagramPacket arg0)
  25. {
  26. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  27. if (!IsClrObject)
  28. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._send13604, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  29. else
  30. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._send13604, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  31. }
  32. internal static global::MonoJavaBridge.MethodId _getPort13605;
  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.DatagramSocket._getPort13605);
  38. else
  39. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getPort13605);
  40. }
  41. internal static global::MonoJavaBridge.MethodId _getChannel13606;
  42. public virtual global::java.nio.channels.DatagramChannel getChannel()
  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.DatagramSocket._getChannel13606)) as java.nio.channels.DatagramChannel;
  47. else
  48. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getChannel13606)) as java.nio.channels.DatagramChannel;
  49. }
  50. internal static global::MonoJavaBridge.MethodId _connect13607;
  51. public virtual void connect(java.net.SocketAddress arg0)
  52. {
  53. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  54. if (!IsClrObject)
  55. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._connect13607, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  56. else
  57. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._connect13607, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  58. }
  59. internal static global::MonoJavaBridge.MethodId _connect13608;
  60. public virtual void connect(java.net.InetAddress arg0, int arg1)
  61. {
  62. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  63. if (!IsClrObject)
  64. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._connect13608, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  65. else
  66. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._connect13608, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  67. }
  68. internal static global::MonoJavaBridge.MethodId _isClosed13609;
  69. public virtual bool isClosed()
  70. {
  71. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  72. if (!IsClrObject)
  73. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.DatagramSocket._isClosed13609);
  74. else
  75. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._isClosed13609);
  76. }
  77. internal static global::MonoJavaBridge.MethodId _getBroadcast13610;
  78. public virtual bool getBroadcast()
  79. {
  80. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  81. if (!IsClrObject)
  82. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.DatagramSocket._getBroadcast13610);
  83. else
  84. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getBroadcast13610);
  85. }
  86. internal static global::MonoJavaBridge.MethodId _bind13611;
  87. public virtual void bind(java.net.SocketAddress arg0)
  88. {
  89. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  90. if (!IsClrObject)
  91. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._bind13611, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  92. else
  93. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._bind13611, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  94. }
  95. internal static global::MonoJavaBridge.MethodId _disconnect13612;
  96. public virtual void disconnect()
  97. {
  98. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  99. if (!IsClrObject)
  100. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._disconnect13612);
  101. else
  102. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._disconnect13612);
  103. }
  104. internal static global::MonoJavaBridge.MethodId _isConnected13613;
  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.DatagramSocket._isConnected13613);
  110. else
  111. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._isConnected13613);
  112. }
  113. internal static global::MonoJavaBridge.MethodId _getLocalSocketAddress13614;
  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.DatagramSocket._getLocalSocketAddress13614)) as java.net.SocketAddress;
  119. else
  120. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getLocalSocketAddress13614)) as java.net.SocketAddress;
  121. }
  122. internal static global::MonoJavaBridge.MethodId _setReceiveBufferSize13615;
  123. public virtual void setReceiveBufferSize(int arg0)
  124. {
  125. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  126. if (!IsClrObject)
  127. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._setReceiveBufferSize13615, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  128. else
  129. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._setReceiveBufferSize13615, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  130. }
  131. internal static global::MonoJavaBridge.MethodId _getReceiveBufferSize13616;
  132. public virtual int getReceiveBufferSize()
  133. {
  134. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  135. if (!IsClrObject)
  136. return @__env.CallIntMethod(this.JvmHandle, global::java.net.DatagramSocket._getReceiveBufferSize13616);
  137. else
  138. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getReceiveBufferSize13616);
  139. }
  140. internal static global::MonoJavaBridge.MethodId _setSoTimeout13617;
  141. public virtual void setSoTimeout(int arg0)
  142. {
  143. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  144. if (!IsClrObject)
  145. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._setSoTimeout13617, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  146. else
  147. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._setSoTimeout13617, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  148. }
  149. internal static global::MonoJavaBridge.MethodId _getSoTimeout13618;
  150. public virtual int getSoTimeout()
  151. {
  152. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  153. if (!IsClrObject)
  154. return @__env.CallIntMethod(this.JvmHandle, global::java.net.DatagramSocket._getSoTimeout13618);
  155. else
  156. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getSoTimeout13618);
  157. }
  158. internal static global::MonoJavaBridge.MethodId _setSendBufferSize13619;
  159. public virtual void setSendBufferSize(int arg0)
  160. {
  161. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  162. if (!IsClrObject)
  163. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._setSendBufferSize13619, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  164. else
  165. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._setSendBufferSize13619, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  166. }
  167. internal static global::MonoJavaBridge.MethodId _getSendBufferSize13620;
  168. public virtual int getSendBufferSize()
  169. {
  170. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  171. if (!IsClrObject)
  172. return @__env.CallIntMethod(this.JvmHandle, global::java.net.DatagramSocket._getSendBufferSize13620);
  173. else
  174. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getSendBufferSize13620);
  175. }
  176. internal static global::MonoJavaBridge.MethodId _getRemoteSocketAddress13621;
  177. public virtual global::java.net.SocketAddress getRemoteSocketAddress()
  178. {
  179. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  180. if (!IsClrObject)
  181. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.DatagramSocket._getRemoteSocketAddress13621)) as java.net.SocketAddress;
  182. else
  183. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getRemoteSocketAddress13621)) as java.net.SocketAddress;
  184. }
  185. internal static global::MonoJavaBridge.MethodId _isBound13622;
  186. public virtual bool isBound()
  187. {
  188. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  189. if (!IsClrObject)
  190. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.DatagramSocket._isBound13622);
  191. else
  192. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._isBound13622);
  193. }
  194. internal static global::MonoJavaBridge.MethodId _getInetAddress13623;
  195. public virtual global::java.net.InetAddress getInetAddress()
  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.DatagramSocket._getInetAddress13623)) as java.net.InetAddress;
  200. else
  201. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getInetAddress13623)) as java.net.InetAddress;
  202. }
  203. internal static global::MonoJavaBridge.MethodId _getLocalAddress13624;
  204. public virtual global::java.net.InetAddress getLocalAddress()
  205. {
  206. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  207. if (!IsClrObject)
  208. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.DatagramSocket._getLocalAddress13624)) as java.net.InetAddress;
  209. else
  210. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getLocalAddress13624)) as java.net.InetAddress;
  211. }
  212. internal static global::MonoJavaBridge.MethodId _getLocalPort13625;
  213. public virtual int getLocalPort()
  214. {
  215. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  216. if (!IsClrObject)
  217. return @__env.CallIntMethod(this.JvmHandle, global::java.net.DatagramSocket._getLocalPort13625);
  218. else
  219. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getLocalPort13625);
  220. }
  221. internal static global::MonoJavaBridge.MethodId _setTrafficClass13626;
  222. public virtual void setTrafficClass(int arg0)
  223. {
  224. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  225. if (!IsClrObject)
  226. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._setTrafficClass13626, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  227. else
  228. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._setTrafficClass13626, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  229. }
  230. internal static global::MonoJavaBridge.MethodId _getTrafficClass13627;
  231. public virtual int getTrafficClass()
  232. {
  233. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  234. if (!IsClrObject)
  235. return @__env.CallIntMethod(this.JvmHandle, global::java.net.DatagramSocket._getTrafficClass13627);
  236. else
  237. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getTrafficClass13627);
  238. }
  239. internal static global::MonoJavaBridge.MethodId _setReuseAddress13628;
  240. public virtual void setReuseAddress(bool arg0)
  241. {
  242. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  243. if (!IsClrObject)
  244. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._setReuseAddress13628, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  245. else
  246. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._setReuseAddress13628, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  247. }
  248. internal static global::MonoJavaBridge.MethodId _getReuseAddress13629;
  249. public virtual bool getReuseAddress()
  250. {
  251. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  252. if (!IsClrObject)
  253. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.DatagramSocket._getReuseAddress13629);
  254. else
  255. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._getReuseAddress13629);
  256. }
  257. internal static global::MonoJavaBridge.MethodId _receive13630;
  258. public virtual void receive(java.net.DatagramPacket arg0)
  259. {
  260. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  261. if (!IsClrObject)
  262. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._receive13630, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  263. else
  264. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._receive13630, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  265. }
  266. internal static global::MonoJavaBridge.MethodId _setBroadcast13631;
  267. public virtual void setBroadcast(bool arg0)
  268. {
  269. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  270. if (!IsClrObject)
  271. @__env.CallVoidMethod(this.JvmHandle, global::java.net.DatagramSocket._setBroadcast13631, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  272. else
  273. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._setBroadcast13631, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  274. }
  275. internal static global::MonoJavaBridge.MethodId _setDatagramSocketImplFactory13632;
  276. public static void setDatagramSocketImplFactory(java.net.DatagramSocketImplFactory arg0)
  277. {
  278. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  279. @__env.CallStaticVoidMethod(java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._setDatagramSocketImplFactory13632, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  280. }
  281. internal static global::MonoJavaBridge.MethodId _DatagramSocket13633;
  282. public DatagramSocket(java.net.SocketAddress arg0) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  283. {
  284. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  285. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._DatagramSocket13633, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  286. Init(@__env, handle);
  287. }
  288. internal static global::MonoJavaBridge.MethodId _DatagramSocket13634;
  289. public DatagramSocket() : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  290. {
  291. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  292. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._DatagramSocket13634);
  293. Init(@__env, handle);
  294. }
  295. internal static global::MonoJavaBridge.MethodId _DatagramSocket13635;
  296. protected DatagramSocket(java.net.DatagramSocketImpl arg0) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  297. {
  298. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  299. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._DatagramSocket13635, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  300. Init(@__env, handle);
  301. }
  302. internal static global::MonoJavaBridge.MethodId _DatagramSocket13636;
  303. public DatagramSocket(int arg0) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  304. {
  305. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  306. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._DatagramSocket13636, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  307. Init(@__env, handle);
  308. }
  309. internal static global::MonoJavaBridge.MethodId _DatagramSocket13637;
  310. public DatagramSocket(int arg0, java.net.InetAddress arg1) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  311. {
  312. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  313. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.DatagramSocket.staticClass, global::java.net.DatagramSocket._DatagramSocket13637, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  314. Init(@__env, handle);
  315. }
  316. private static void InitJNI()
  317. {
  318. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  319. global::java.net.DatagramSocket.staticClass = @__env.NewGlobalRef(@__env.FindClass("java/net/DatagramSocket"));
  320. global::java.net.DatagramSocket._close13603 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "close", "()V");
  321. global::java.net.DatagramSocket._send13604 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "send", "(Ljava/net/DatagramPacket;)V");
  322. global::java.net.DatagramSocket._getPort13605 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getPort", "()I");
  323. global::java.net.DatagramSocket._getChannel13606 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getChannel", "()Ljava/nio/channels/DatagramChannel;");
  324. global::java.net.DatagramSocket._connect13607 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "connect", "(Ljava/net/SocketAddress;)V");
  325. global::java.net.DatagramSocket._connect13608 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "connect", "(Ljava/net/InetAddress;I)V");
  326. global::java.net.DatagramSocket._isClosed13609 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "isClosed", "()Z");
  327. global::java.net.DatagramSocket._getBroadcast13610 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getBroadcast", "()Z");
  328. global::java.net.DatagramSocket._bind13611 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "bind", "(Ljava/net/SocketAddress;)V");
  329. global::java.net.DatagramSocket._disconnect13612 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "disconnect", "()V");
  330. global::java.net.DatagramSocket._isConnected13613 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "isConnected", "()Z");
  331. global::java.net.DatagramSocket._getLocalSocketAddress13614 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getLocalSocketAddress", "()Ljava/net/SocketAddress;");
  332. global::java.net.DatagramSocket._setReceiveBufferSize13615 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "setReceiveBufferSize", "(I)V");
  333. global::java.net.DatagramSocket._getReceiveBufferSize13616 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getReceiveBufferSize", "()I");
  334. global::java.net.DatagramSocket._setSoTimeout13617 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "setSoTimeout", "(I)V");
  335. global::java.net.DatagramSocket._getSoTimeout13618 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getSoTimeout", "()I");
  336. global::java.net.DatagramSocket._setSendBufferSize13619 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "setSendBufferSize", "(I)V");
  337. global::java.net.DatagramSocket._getSendBufferSize13620 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getSendBufferSize", "()I");
  338. global::java.net.DatagramSocket._getRemoteSocketAddress13621 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getRemoteSocketAddress", "()Ljava/net/SocketAddress;");
  339. global::java.net.DatagramSocket._isBound13622 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "isBound", "()Z");
  340. global::java.net.DatagramSocket._getInetAddress13623 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getInetAddress", "()Ljava/net/InetAddress;");
  341. global::java.net.DatagramSocket._getLocalAddress13624 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getLocalAddress", "()Ljava/net/InetAddress;");
  342. global::java.net.DatagramSocket._getLocalPort13625 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getLocalPort", "()I");
  343. global::java.net.DatagramSocket._setTrafficClass13626 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "setTrafficClass", "(I)V");
  344. global::java.net.DatagramSocket._getTrafficClass13627 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getTrafficClass", "()I");
  345. global::java.net.DatagramSocket._setReuseAddress13628 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "setReuseAddress", "(Z)V");
  346. global::java.net.DatagramSocket._getReuseAddress13629 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "getReuseAddress", "()Z");
  347. global::java.net.DatagramSocket._receive13630 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "receive", "(Ljava/net/DatagramPacket;)V");
  348. global::java.net.DatagramSocket._setBroadcast13631 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "setBroadcast", "(Z)V");
  349. global::java.net.DatagramSocket._setDatagramSocketImplFactory13632 = @__env.GetStaticMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "setDatagramSocketImplFactory", "(Ljava/net/DatagramSocketImplFactory;)V");
  350. global::java.net.DatagramSocket._DatagramSocket13633 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "<init>", "(Ljava/net/SocketAddress;)V");
  351. global::java.net.DatagramSocket._DatagramSocket13634 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "<init>", "()V");
  352. global::java.net.DatagramSocket._DatagramSocket13635 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "<init>", "(Ljava/net/DatagramSocketImpl;)V");
  353. global::java.net.DatagramSocket._DatagramSocket13636 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "<init>", "(I)V");
  354. global::java.net.DatagramSocket._DatagramSocket13637 = @__env.GetMethodIDNoThrow(global::java.net.DatagramSocket.staticClass, "<init>", "(ILjava/net/InetAddress;)V");
  355. }
  356. }
  357. }