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

http://github.com/koush/androidmono · C# · 245 lines · 245 code · 0 blank · 0 comment · 19 complexity · 1d1e945e76669c9131841800fadcfdb3 MD5 · raw file

  1. namespace java.net
  2. {
  3. [global::MonoJavaBridge.JavaClass()]
  4. public partial class InetAddress : java.lang.Object, java.io.Serializable
  5. {
  6. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  7. static InetAddress()
  8. {
  9. InitJNI();
  10. }
  11. protected InetAddress(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  12. {
  13. }
  14. internal static global::MonoJavaBridge.MethodId _equals13679;
  15. public override bool equals(java.lang.Object arg0)
  16. {
  17. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  18. if (!IsClrObject)
  19. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._equals13679, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  20. else
  21. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._equals13679, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  22. }
  23. internal static global::MonoJavaBridge.MethodId _toString13680;
  24. public override global::java.lang.String toString()
  25. {
  26. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  27. if (!IsClrObject)
  28. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.InetAddress._toString13680)) as java.lang.String;
  29. else
  30. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._toString13680)) as java.lang.String;
  31. }
  32. internal static global::MonoJavaBridge.MethodId _hashCode13681;
  33. public override int hashCode()
  34. {
  35. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  36. if (!IsClrObject)
  37. return @__env.CallIntMethod(this.JvmHandle, global::java.net.InetAddress._hashCode13681);
  38. else
  39. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._hashCode13681);
  40. }
  41. internal static global::MonoJavaBridge.MethodId _getAddress13682;
  42. public virtual byte[] getAddress()
  43. {
  44. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  45. if (!IsClrObject)
  46. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<byte>(@__env.CallObjectMethod(this.JvmHandle, global::java.net.InetAddress._getAddress13682)) as byte[];
  47. else
  48. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<byte>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._getAddress13682)) as byte[];
  49. }
  50. internal static global::MonoJavaBridge.MethodId _getHostName13683;
  51. public virtual global::java.lang.String getHostName()
  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.InetAddress._getHostName13683)) as java.lang.String;
  56. else
  57. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._getHostName13683)) as java.lang.String;
  58. }
  59. internal static global::MonoJavaBridge.MethodId _getHostAddress13684;
  60. public virtual global::java.lang.String getHostAddress()
  61. {
  62. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  63. if (!IsClrObject)
  64. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.InetAddress._getHostAddress13684)) as java.lang.String;
  65. else
  66. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._getHostAddress13684)) as java.lang.String;
  67. }
  68. internal static global::MonoJavaBridge.MethodId _getByName13685;
  69. public static global::java.net.InetAddress getByName(java.lang.String arg0)
  70. {
  71. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  72. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(java.net.InetAddress.staticClass, global::java.net.InetAddress._getByName13685, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.net.InetAddress;
  73. }
  74. internal static global::MonoJavaBridge.MethodId _isAnyLocalAddress13686;
  75. public virtual bool isAnyLocalAddress()
  76. {
  77. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  78. if (!IsClrObject)
  79. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._isAnyLocalAddress13686);
  80. else
  81. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._isAnyLocalAddress13686);
  82. }
  83. internal static global::MonoJavaBridge.MethodId _isMulticastAddress13687;
  84. public virtual bool isMulticastAddress()
  85. {
  86. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  87. if (!IsClrObject)
  88. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._isMulticastAddress13687);
  89. else
  90. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._isMulticastAddress13687);
  91. }
  92. internal static global::MonoJavaBridge.MethodId _isLoopbackAddress13688;
  93. public virtual bool isLoopbackAddress()
  94. {
  95. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  96. if (!IsClrObject)
  97. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._isLoopbackAddress13688);
  98. else
  99. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._isLoopbackAddress13688);
  100. }
  101. internal static global::MonoJavaBridge.MethodId _isLinkLocalAddress13689;
  102. public virtual bool isLinkLocalAddress()
  103. {
  104. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  105. if (!IsClrObject)
  106. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._isLinkLocalAddress13689);
  107. else
  108. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._isLinkLocalAddress13689);
  109. }
  110. internal static global::MonoJavaBridge.MethodId _isSiteLocalAddress13690;
  111. public virtual bool isSiteLocalAddress()
  112. {
  113. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  114. if (!IsClrObject)
  115. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._isSiteLocalAddress13690);
  116. else
  117. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._isSiteLocalAddress13690);
  118. }
  119. internal static global::MonoJavaBridge.MethodId _isMCGlobal13691;
  120. public virtual bool isMCGlobal()
  121. {
  122. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  123. if (!IsClrObject)
  124. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._isMCGlobal13691);
  125. else
  126. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._isMCGlobal13691);
  127. }
  128. internal static global::MonoJavaBridge.MethodId _isMCNodeLocal13692;
  129. public virtual bool isMCNodeLocal()
  130. {
  131. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  132. if (!IsClrObject)
  133. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._isMCNodeLocal13692);
  134. else
  135. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._isMCNodeLocal13692);
  136. }
  137. internal static global::MonoJavaBridge.MethodId _isMCLinkLocal13693;
  138. public virtual bool isMCLinkLocal()
  139. {
  140. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  141. if (!IsClrObject)
  142. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._isMCLinkLocal13693);
  143. else
  144. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._isMCLinkLocal13693);
  145. }
  146. internal static global::MonoJavaBridge.MethodId _isMCSiteLocal13694;
  147. public virtual bool isMCSiteLocal()
  148. {
  149. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  150. if (!IsClrObject)
  151. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._isMCSiteLocal13694);
  152. else
  153. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._isMCSiteLocal13694);
  154. }
  155. internal static global::MonoJavaBridge.MethodId _isMCOrgLocal13695;
  156. public virtual bool isMCOrgLocal()
  157. {
  158. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  159. if (!IsClrObject)
  160. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._isMCOrgLocal13695);
  161. else
  162. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._isMCOrgLocal13695);
  163. }
  164. internal static global::MonoJavaBridge.MethodId _isReachable13696;
  165. public virtual bool isReachable(java.net.NetworkInterface arg0, int arg1, int arg2)
  166. {
  167. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  168. if (!IsClrObject)
  169. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._isReachable13696, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2));
  170. else
  171. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._isReachable13696, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2));
  172. }
  173. internal static global::MonoJavaBridge.MethodId _isReachable13697;
  174. public virtual bool isReachable(int arg0)
  175. {
  176. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  177. if (!IsClrObject)
  178. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.InetAddress._isReachable13697, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  179. else
  180. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._isReachable13697, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  181. }
  182. internal static global::MonoJavaBridge.MethodId _getCanonicalHostName13698;
  183. public virtual global::java.lang.String getCanonicalHostName()
  184. {
  185. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  186. if (!IsClrObject)
  187. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.InetAddress._getCanonicalHostName13698)) as java.lang.String;
  188. else
  189. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.InetAddress.staticClass, global::java.net.InetAddress._getCanonicalHostName13698)) as java.lang.String;
  190. }
  191. internal static global::MonoJavaBridge.MethodId _getByAddress13699;
  192. public static global::java.net.InetAddress getByAddress(byte[] arg0)
  193. {
  194. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  195. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(java.net.InetAddress.staticClass, global::java.net.InetAddress._getByAddress13699, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.net.InetAddress;
  196. }
  197. internal static global::MonoJavaBridge.MethodId _getByAddress13700;
  198. public static global::java.net.InetAddress getByAddress(java.lang.String arg0, byte[] arg1)
  199. {
  200. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  201. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(java.net.InetAddress.staticClass, global::java.net.InetAddress._getByAddress13700, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as java.net.InetAddress;
  202. }
  203. internal static global::MonoJavaBridge.MethodId _getAllByName13701;
  204. public static global::java.net.InetAddress[] getAllByName(java.lang.String arg0)
  205. {
  206. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  207. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.net.InetAddress>(@__env.CallStaticObjectMethod(java.net.InetAddress.staticClass, global::java.net.InetAddress._getAllByName13701, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.net.InetAddress[];
  208. }
  209. internal static global::MonoJavaBridge.MethodId _getLocalHost13702;
  210. public static global::java.net.InetAddress getLocalHost()
  211. {
  212. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  213. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(java.net.InetAddress.staticClass, global::java.net.InetAddress._getLocalHost13702)) as java.net.InetAddress;
  214. }
  215. private static void InitJNI()
  216. {
  217. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  218. global::java.net.InetAddress.staticClass = @__env.NewGlobalRef(@__env.FindClass("java/net/InetAddress"));
  219. global::java.net.InetAddress._equals13679 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "equals", "(Ljava/lang/Object;)Z");
  220. global::java.net.InetAddress._toString13680 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "toString", "()Ljava/lang/String;");
  221. global::java.net.InetAddress._hashCode13681 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "hashCode", "()I");
  222. global::java.net.InetAddress._getAddress13682 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "getAddress", "()[B");
  223. global::java.net.InetAddress._getHostName13683 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "getHostName", "()Ljava/lang/String;");
  224. global::java.net.InetAddress._getHostAddress13684 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "getHostAddress", "()Ljava/lang/String;");
  225. global::java.net.InetAddress._getByName13685 = @__env.GetStaticMethodIDNoThrow(global::java.net.InetAddress.staticClass, "getByName", "(Ljava/lang/String;)Ljava/net/InetAddress;");
  226. global::java.net.InetAddress._isAnyLocalAddress13686 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "isAnyLocalAddress", "()Z");
  227. global::java.net.InetAddress._isMulticastAddress13687 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "isMulticastAddress", "()Z");
  228. global::java.net.InetAddress._isLoopbackAddress13688 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "isLoopbackAddress", "()Z");
  229. global::java.net.InetAddress._isLinkLocalAddress13689 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "isLinkLocalAddress", "()Z");
  230. global::java.net.InetAddress._isSiteLocalAddress13690 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "isSiteLocalAddress", "()Z");
  231. global::java.net.InetAddress._isMCGlobal13691 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "isMCGlobal", "()Z");
  232. global::java.net.InetAddress._isMCNodeLocal13692 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "isMCNodeLocal", "()Z");
  233. global::java.net.InetAddress._isMCLinkLocal13693 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "isMCLinkLocal", "()Z");
  234. global::java.net.InetAddress._isMCSiteLocal13694 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "isMCSiteLocal", "()Z");
  235. global::java.net.InetAddress._isMCOrgLocal13695 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "isMCOrgLocal", "()Z");
  236. global::java.net.InetAddress._isReachable13696 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "isReachable", "(Ljava/net/NetworkInterface;II)Z");
  237. global::java.net.InetAddress._isReachable13697 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "isReachable", "(I)Z");
  238. global::java.net.InetAddress._getCanonicalHostName13698 = @__env.GetMethodIDNoThrow(global::java.net.InetAddress.staticClass, "getCanonicalHostName", "()Ljava/lang/String;");
  239. global::java.net.InetAddress._getByAddress13699 = @__env.GetStaticMethodIDNoThrow(global::java.net.InetAddress.staticClass, "getByAddress", "([B)Ljava/net/InetAddress;");
  240. global::java.net.InetAddress._getByAddress13700 = @__env.GetStaticMethodIDNoThrow(global::java.net.InetAddress.staticClass, "getByAddress", "(Ljava/lang/String;[B)Ljava/net/InetAddress;");
  241. global::java.net.InetAddress._getAllByName13701 = @__env.GetStaticMethodIDNoThrow(global::java.net.InetAddress.staticClass, "getAllByName", "(Ljava/lang/String;)[Ljava/net/InetAddress;");
  242. global::java.net.InetAddress._getLocalHost13702 = @__env.GetStaticMethodIDNoThrow(global::java.net.InetAddress.staticClass, "getLocalHost", "()Ljava/net/InetAddress;");
  243. }
  244. }
  245. }