static bool n_HandleRequest_Lcom_facebook_stetho_server_SocketLike_Lcom_facebook_stetho_server_http_LightHttpRequest_Lcom_facebook_stetho_server_http_LightHttpResponse_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2) { global::Com.Facebook.Stetho.Websocket.WebSocketHandler __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Websocket.WebSocketHandler> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Facebook.Stetho.Server.SocketLike p0 = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Server.SocketLike> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Facebook.Stetho.Server.Http.LightHttpRequest p1 = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Server.Http.LightHttpRequest> (native_p1, JniHandleOwnership.DoNotTransfer); global::Com.Facebook.Stetho.Server.Http.LightHttpResponse p2 = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Server.Http.LightHttpResponse> (native_p2, JniHandleOwnership.DoNotTransfer); bool __ret = __this.HandleRequest(p0, p1, p2); return(__ret); }
public virtual unsafe bool HandleRequest(global::Com.Facebook.Stetho.Server.SocketLike p0, global::Com.Facebook.Stetho.Server.Http.LightHttpRequest p1, global::Com.Facebook.Stetho.Server.Http.LightHttpResponse p2) { if (id_handleRequest_Lcom_facebook_stetho_server_SocketLike_Lcom_facebook_stetho_server_http_LightHttpRequest_Lcom_facebook_stetho_server_http_LightHttpResponse_ == IntPtr.Zero) { id_handleRequest_Lcom_facebook_stetho_server_SocketLike_Lcom_facebook_stetho_server_http_LightHttpRequest_Lcom_facebook_stetho_server_http_LightHttpResponse_ = JNIEnv.GetMethodID(class_ref, "handleRequest", "(Lcom/facebook/stetho/server/SocketLike;Lcom/facebook/stetho/server/http/LightHttpRequest;Lcom/facebook/stetho/server/http/LightHttpResponse;)Z"); } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); bool __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_handleRequest_Lcom_facebook_stetho_server_SocketLike_Lcom_facebook_stetho_server_http_LightHttpRequest_Lcom_facebook_stetho_server_http_LightHttpResponse_, __args); } else { __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "handleRequest", "(Lcom/facebook/stetho/server/SocketLike;Lcom/facebook/stetho/server/http/LightHttpRequest;Lcom/facebook/stetho/server/http/LightHttpResponse;)Z"), __args); } return(__ret); } finally { } }