public unsafe void A(global::Anet.Channel.Entity.ConnType p0) { if (id_a_Lanet_channel_entity_ConnType_ == IntPtr.Zero) { id_a_Lanet_channel_entity_ConnType_ = JNIEnv.GetMethodID(class_ref, "a", "(Lanet/channel/entity/ConnType;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_a_Lanet_channel_entity_ConnType_, __args); } finally { } }
public static unsafe global::Anet.Channel.Entity.ConnType A(global::Anet.Channel.Strategy.ConnProtocol p0) { if (id_a_Lanet_channel_strategy_ConnProtocol_ == IntPtr.Zero) { id_a_Lanet_channel_strategy_ConnProtocol_ = JNIEnv.GetStaticMethodID(class_ref, "a", "(Lanet/channel/strategy/ConnProtocol;)Lanet/channel/entity/ConnType;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Anet.Channel.Entity.ConnType __ret = global::Java.Lang.Object.GetObject <global::Anet.Channel.Entity.ConnType> (JNIEnv.CallStaticObjectMethod(class_ref, id_a_Lanet_channel_strategy_ConnProtocol_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public static unsafe int A(global::Anet.Channel.Entity.ConnType p0, global::Anet.Channel.Entity.ConnType p1) { if (id_a_Lanet_channel_entity_ConnType_Lanet_channel_entity_ConnType_ == IntPtr.Zero) { id_a_Lanet_channel_entity_ConnType_Lanet_channel_entity_ConnType_ = JNIEnv.GetStaticMethodID(class_ref, "a", "(Lanet/channel/entity/ConnType;Lanet/channel/entity/ConnType;)I"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); int __ret = JNIEnv.CallStaticIntMethod(class_ref, id_a_Lanet_channel_entity_ConnType_Lanet_channel_entity_ConnType_, __args); return(__ret); } finally { } }