/jni/MonoJavaBridge/android/generated/org/apache/http/conn/routing/RouteInfo.cs

http://github.com/koush/androidmono · C# · 135 lines · 134 code · 1 blank · 0 comment · 10 complexity · 6fba7941acc928b5f285be373fce711c MD5 · raw file

  1. namespace org.apache.http.conn.routing
  2. {
  3. [global::MonoJavaBridge.JavaInterface(typeof(global::org.apache.http.conn.routing.RouteInfo_))]
  4. public interface RouteInfo : global::MonoJavaBridge.IJavaObject
  5. {
  6. bool isSecure();
  7. global::java.net.InetAddress getLocalAddress();
  8. global::org.apache.http.HttpHost getTargetHost();
  9. int getHopCount();
  10. global::org.apache.http.HttpHost getHopTarget(int arg0);
  11. global::org.apache.http.HttpHost getProxyHost();
  12. global::org.apache.http.conn.routing.RouteInfo_TunnelType getTunnelType();
  13. bool isTunnelled();
  14. global::org.apache.http.conn.routing.RouteInfo_LayerType getLayerType();
  15. bool isLayered();
  16. }
  17. [global::MonoJavaBridge.JavaProxy(typeof(global::org.apache.http.conn.routing.RouteInfo))]
  18. public sealed partial class RouteInfo_ : java.lang.Object, RouteInfo
  19. {
  20. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  21. static RouteInfo_()
  22. {
  23. InitJNI();
  24. }
  25. internal RouteInfo_(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  26. {
  27. }
  28. internal static global::MonoJavaBridge.MethodId _isSecure16385;
  29. bool org.apache.http.conn.routing.RouteInfo.isSecure()
  30. {
  31. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  32. if (!IsClrObject)
  33. return @__env.CallBooleanMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_._isSecure16385);
  34. else
  35. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_.staticClass, global::org.apache.http.conn.routing.RouteInfo_._isSecure16385);
  36. }
  37. internal static global::MonoJavaBridge.MethodId _getLocalAddress16386;
  38. global::java.net.InetAddress org.apache.http.conn.routing.RouteInfo.getLocalAddress()
  39. {
  40. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  41. if (!IsClrObject)
  42. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_._getLocalAddress16386)) as java.net.InetAddress;
  43. else
  44. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_.staticClass, global::org.apache.http.conn.routing.RouteInfo_._getLocalAddress16386)) as java.net.InetAddress;
  45. }
  46. internal static global::MonoJavaBridge.MethodId _getTargetHost16387;
  47. global::org.apache.http.HttpHost org.apache.http.conn.routing.RouteInfo.getTargetHost()
  48. {
  49. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  50. if (!IsClrObject)
  51. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_._getTargetHost16387)) as org.apache.http.HttpHost;
  52. else
  53. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_.staticClass, global::org.apache.http.conn.routing.RouteInfo_._getTargetHost16387)) as org.apache.http.HttpHost;
  54. }
  55. internal static global::MonoJavaBridge.MethodId _getHopCount16388;
  56. int org.apache.http.conn.routing.RouteInfo.getHopCount()
  57. {
  58. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  59. if (!IsClrObject)
  60. return @__env.CallIntMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_._getHopCount16388);
  61. else
  62. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_.staticClass, global::org.apache.http.conn.routing.RouteInfo_._getHopCount16388);
  63. }
  64. internal static global::MonoJavaBridge.MethodId _getHopTarget16389;
  65. global::org.apache.http.HttpHost org.apache.http.conn.routing.RouteInfo.getHopTarget(int arg0)
  66. {
  67. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  68. if (!IsClrObject)
  69. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_._getHopTarget16389, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as org.apache.http.HttpHost;
  70. else
  71. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_.staticClass, global::org.apache.http.conn.routing.RouteInfo_._getHopTarget16389, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as org.apache.http.HttpHost;
  72. }
  73. internal static global::MonoJavaBridge.MethodId _getProxyHost16390;
  74. global::org.apache.http.HttpHost org.apache.http.conn.routing.RouteInfo.getProxyHost()
  75. {
  76. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  77. if (!IsClrObject)
  78. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_._getProxyHost16390)) as org.apache.http.HttpHost;
  79. else
  80. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_.staticClass, global::org.apache.http.conn.routing.RouteInfo_._getProxyHost16390)) as org.apache.http.HttpHost;
  81. }
  82. internal static global::MonoJavaBridge.MethodId _getTunnelType16391;
  83. global::org.apache.http.conn.routing.RouteInfo_TunnelType org.apache.http.conn.routing.RouteInfo.getTunnelType()
  84. {
  85. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  86. if (!IsClrObject)
  87. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_._getTunnelType16391)) as org.apache.http.conn.routing.RouteInfo_TunnelType;
  88. else
  89. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_.staticClass, global::org.apache.http.conn.routing.RouteInfo_._getTunnelType16391)) as org.apache.http.conn.routing.RouteInfo_TunnelType;
  90. }
  91. internal static global::MonoJavaBridge.MethodId _isTunnelled16392;
  92. bool org.apache.http.conn.routing.RouteInfo.isTunnelled()
  93. {
  94. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  95. if (!IsClrObject)
  96. return @__env.CallBooleanMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_._isTunnelled16392);
  97. else
  98. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_.staticClass, global::org.apache.http.conn.routing.RouteInfo_._isTunnelled16392);
  99. }
  100. internal static global::MonoJavaBridge.MethodId _getLayerType16393;
  101. global::org.apache.http.conn.routing.RouteInfo_LayerType org.apache.http.conn.routing.RouteInfo.getLayerType()
  102. {
  103. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  104. if (!IsClrObject)
  105. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_._getLayerType16393)) as org.apache.http.conn.routing.RouteInfo_LayerType;
  106. else
  107. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_.staticClass, global::org.apache.http.conn.routing.RouteInfo_._getLayerType16393)) as org.apache.http.conn.routing.RouteInfo_LayerType;
  108. }
  109. internal static global::MonoJavaBridge.MethodId _isLayered16394;
  110. bool org.apache.http.conn.routing.RouteInfo.isLayered()
  111. {
  112. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  113. if (!IsClrObject)
  114. return @__env.CallBooleanMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_._isLayered16394);
  115. else
  116. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::org.apache.http.conn.routing.RouteInfo_.staticClass, global::org.apache.http.conn.routing.RouteInfo_._isLayered16394);
  117. }
  118. private static void InitJNI()
  119. {
  120. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  121. global::org.apache.http.conn.routing.RouteInfo_.staticClass = @__env.NewGlobalRef(@__env.FindClass("org/apache/http/conn/routing/RouteInfo"));
  122. global::org.apache.http.conn.routing.RouteInfo_._isSecure16385 = @__env.GetMethodIDNoThrow(global::org.apache.http.conn.routing.RouteInfo_.staticClass, "isSecure", "()Z");
  123. global::org.apache.http.conn.routing.RouteInfo_._getLocalAddress16386 = @__env.GetMethodIDNoThrow(global::org.apache.http.conn.routing.RouteInfo_.staticClass, "getLocalAddress", "()Ljava/net/InetAddress;");
  124. global::org.apache.http.conn.routing.RouteInfo_._getTargetHost16387 = @__env.GetMethodIDNoThrow(global::org.apache.http.conn.routing.RouteInfo_.staticClass, "getTargetHost", "()Lorg/apache/http/HttpHost;");
  125. global::org.apache.http.conn.routing.RouteInfo_._getHopCount16388 = @__env.GetMethodIDNoThrow(global::org.apache.http.conn.routing.RouteInfo_.staticClass, "getHopCount", "()I");
  126. global::org.apache.http.conn.routing.RouteInfo_._getHopTarget16389 = @__env.GetMethodIDNoThrow(global::org.apache.http.conn.routing.RouteInfo_.staticClass, "getHopTarget", "(I)Lorg/apache/http/HttpHost;");
  127. global::org.apache.http.conn.routing.RouteInfo_._getProxyHost16390 = @__env.GetMethodIDNoThrow(global::org.apache.http.conn.routing.RouteInfo_.staticClass, "getProxyHost", "()Lorg/apache/http/HttpHost;");
  128. global::org.apache.http.conn.routing.RouteInfo_._getTunnelType16391 = @__env.GetMethodIDNoThrow(global::org.apache.http.conn.routing.RouteInfo_.staticClass, "getTunnelType", "()Lorg/apache/http/conn/routing/RouteInfo$TunnelType;");
  129. global::org.apache.http.conn.routing.RouteInfo_._isTunnelled16392 = @__env.GetMethodIDNoThrow(global::org.apache.http.conn.routing.RouteInfo_.staticClass, "isTunnelled", "()Z");
  130. global::org.apache.http.conn.routing.RouteInfo_._getLayerType16393 = @__env.GetMethodIDNoThrow(global::org.apache.http.conn.routing.RouteInfo_.staticClass, "getLayerType", "()Lorg/apache/http/conn/routing/RouteInfo$LayerType;");
  131. global::org.apache.http.conn.routing.RouteInfo_._isLayered16394 = @__env.GetMethodIDNoThrow(global::org.apache.http.conn.routing.RouteInfo_.staticClass, "isLayered", "()Z");
  132. }
  133. }
  134. }