Exemple #1
0
        public unsafe void DeliveryComplete(global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken p0)
        {
            if (id_deliveryComplete_Lorg_eclipse_paho_client_mqttv3_IMqttDeliveryToken_ == IntPtr.Zero)
            {
                id_deliveryComplete_Lorg_eclipse_paho_client_mqttv3_IMqttDeliveryToken_ = JNIEnv.GetMethodID(class_ref, "deliveryComplete", "(Lorg/eclipse/paho/client/mqttv3/IMqttDeliveryToken;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_deliveryComplete_Lorg_eclipse_paho_client_mqttv3_IMqttDeliveryToken_, __args);
        }
Exemple #2
0
 static IntPtr n_GetMessage(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.Message));
 }
Exemple #3
0
 static void n_DeliveryComplete_Lorg_eclipse_paho_client_mqttv3_IMqttDeliveryToken_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Eclipse.Paho.Client.Mqttv3.IMqttCallback      __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.IMqttCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken p0     = (global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken)global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.DeliveryComplete(p0);
 }
Exemple #4
0
 static void n_WaitForCompletion_J(IntPtr jnienv, IntPtr native__this, long p0)
 {
     global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.WaitForCompletion(p0);
 }
Exemple #5
0
 static IntPtr n_GetTopics(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewArray(__this.GetTopics()));
 }
Exemple #6
0
 static void n_SetUserContext_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Object p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.UserContext = p0;
 }
Exemple #7
0
 static bool n_GetSessionPresent(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.SessionPresent);
 }
Exemple #8
0
 static void n_SetActionCallback_Lorg_eclipse_paho_client_mqttv3_IMqttActionListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken  __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.IMqttDeliveryToken> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Org.Eclipse.Paho.Client.Mqttv3.IMqttActionListener p0     = (global::Org.Eclipse.Paho.Client.Mqttv3.IMqttActionListener)global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.IMqttActionListener> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.ActionCallback = p0;
 }