static void n_Remove_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_key) { global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string key = JNIEnv.GetString(native_key, JniHandleOwnership.DoNotTransfer); __this.Remove(key); }
static void n_Put_Ljava_lang_String_Lorg_eclipse_paho_client_mqttv3_MqttPersistable_(IntPtr jnienv, IntPtr native__this, IntPtr native_key, IntPtr native_persistable) { global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string key = JNIEnv.GetString(native_key, JniHandleOwnership.DoNotTransfer); global::Org.Eclipse.Paho.Client.Mqttv3.IMqttPersistable persistable = (global::Org.Eclipse.Paho.Client.Mqttv3.IMqttPersistable)global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.IMqttPersistable> (native_persistable, JniHandleOwnership.DoNotTransfer); __this.Put(key, persistable); }
static void n_Open_Ljava_lang_String_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_clientId, IntPtr native_serverURI) { global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string clientId = JNIEnv.GetString(native_clientId, JniHandleOwnership.DoNotTransfer); string serverURI = JNIEnv.GetString(native_serverURI, JniHandleOwnership.DoNotTransfer); __this.Open(clientId, serverURI); }
static IntPtr n_Get_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_key) { global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string key = JNIEnv.GetString(native_key, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Get(key)); return(__ret); }
static bool n_ContainsKey_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_key) { global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string key = JNIEnv.GetString(native_key, JniHandleOwnership.DoNotTransfer); bool __ret = __this.ContainsKey(key); return(__ret); }
static void n_Open_Ljava_lang_String_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); string p1 = JNIEnv.GetString(native_p1, JniHandleOwnership.DoNotTransfer); __this.Open(p0, p1); }
static void n_Close(IntPtr jnienv, IntPtr native__this) { global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Close(); }
static IntPtr n_Keys(IntPtr jnienv, IntPtr native__this) { global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Persist.MemoryPersistence> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Keys())); }