Пример #1
0
        public unsafe void SetStateMachineExecutor(global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor p0)
        {
            if (id_setStateMachineExecutor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachineExecutor_ == IntPtr.Zero)
            {
                id_setStateMachineExecutor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachineExecutor_ = JNIEnv.GetMethodID(class_ref, "setStateMachineExecutor", "(Lcom/liveperson/infra/statemachine/interfaces/IStateMachineExecutor;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setStateMachineExecutor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachineExecutor_, __args);
        }
Пример #2
0
        public virtual unsafe void SetStateMachineExecutor(global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor p0)
        {
            if (id_setStateMachineExecutor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachineExecutor_ == IntPtr.Zero)
            {
                id_setStateMachineExecutor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachineExecutor_ = JNIEnv.GetMethodID(class_ref, "setStateMachineExecutor", "(Lcom/liveperson/infra/statemachine/interfaces/IStateMachineExecutor;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setStateMachineExecutor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachineExecutor_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setStateMachineExecutor", "(Lcom/liveperson/infra/statemachine/interfaces/IStateMachineExecutor;)V"), __args);
                }
            } finally {
            }
        }
Пример #3
0
 static void n_SetStateMachineExecutor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachineExecutor_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachine         __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachine> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor p0     = (global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetStateMachineExecutor(p0);
 }
 static bool n_IsInitialized(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.IsInitialized);
 }
 static void n_Shutdown(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Shutdown();
 }
        static IntPtr n_Schedule_Lcom_liveperson_infra_statemachine_interfaces_IEvent_J(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, long p1)
        {
            global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Liveperson.Infra.Statemachine.Interfaces.IEvent p0 = (global::Com.Liveperson.Infra.Statemachine.Interfaces.IEvent)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IEvent> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Schedule(p0, p1));

            return(__ret);
        }
 static void n_Cancel_Ljava_lang_Runnable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachineExecutor> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.IRunnable p0 = (global::Java.Lang.IRunnable)global::Java.Lang.Object.GetObject <global::Java.Lang.IRunnable> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Cancel(p0);
 }