Exemplo n.º 1
0
 static void n_ChangeStateAndPassEvent_Lcom_liveperson_infra_statemachine_interfaces_IState_Lcom_liveperson_infra_statemachine_interfaces_IEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Liveperson.Infra.Statemachine.BaseStateMachine  __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.BaseStateMachine> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Statemachine.Interfaces.IState p0     = (global::Com.Liveperson.Infra.Statemachine.Interfaces.IState)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IState> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Statemachine.Interfaces.IEvent p1     = (global::Com.Liveperson.Infra.Statemachine.Interfaces.IEvent)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IEvent> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.ChangeStateAndPassEvent(p0, p1);
 }
Exemplo n.º 2
0
        public unsafe void Accept(global::Com.Liveperson.Infra.Statemachine.Interfaces.IState p0)
        {
            if (id_accept_Lcom_liveperson_infra_statemachine_interfaces_IState_ == IntPtr.Zero)
            {
                id_accept_Lcom_liveperson_infra_statemachine_interfaces_IState_ = JNIEnv.GetMethodID(class_ref, "accept", "(Lcom/liveperson/infra/statemachine/interfaces/IState;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_accept_Lcom_liveperson_infra_statemachine_interfaces_IState_, __args);
        }
Exemplo n.º 3
0
        public override unsafe void Accept(global::Com.Liveperson.Infra.Statemachine.Interfaces.IState p0)
        {
            if (id_accept_Lcom_liveperson_infra_statemachine_interfaces_IState_ == IntPtr.Zero)
            {
                id_accept_Lcom_liveperson_infra_statemachine_interfaces_IState_ = JNIEnv.GetMethodID(class_ref, "accept", "(Lcom/liveperson/infra/statemachine/interfaces/IState;)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_accept_Lcom_liveperson_infra_statemachine_interfaces_IState_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "accept", "(Lcom/liveperson/infra/statemachine/interfaces/IState;)V"), __args);
                }
            } finally {
            }
        }
Exemplo n.º 4
0
        public virtual unsafe void ChangeStateAndPassEvent(global::Com.Liveperson.Infra.Statemachine.Interfaces.IState p0, global::Com.Liveperson.Infra.Statemachine.Interfaces.IEvent p1)
        {
            if (id_changeStateAndPassEvent_Lcom_liveperson_infra_statemachine_interfaces_IState_Lcom_liveperson_infra_statemachine_interfaces_IEvent_ == IntPtr.Zero)
            {
                id_changeStateAndPassEvent_Lcom_liveperson_infra_statemachine_interfaces_IState_Lcom_liveperson_infra_statemachine_interfaces_IEvent_ = JNIEnv.GetMethodID(class_ref, "changeStateAndPassEvent", "(Lcom/liveperson/infra/statemachine/interfaces/IState;Lcom/liveperson/infra/statemachine/interfaces/IEvent;)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_changeStateAndPassEvent_Lcom_liveperson_infra_statemachine_interfaces_IState_Lcom_liveperson_infra_statemachine_interfaces_IEvent_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "changeStateAndPassEvent", "(Lcom/liveperson/infra/statemachine/interfaces/IState;Lcom/liveperson/infra/statemachine/interfaces/IEvent;)V"), __args);
                }
            } finally {
            }
        }
Exemplo n.º 5
0
 static void n_Accept_Lcom_liveperson_infra_statemachine_interfaces_IState_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Messaging.Controller.Connection.Connectionevents.ConnectEvent __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Controller.Connection.Connectionevents.ConnectEvent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Statemachine.Interfaces.IState p0 = (global::Com.Liveperson.Infra.Statemachine.Interfaces.IState)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IState> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Accept(p0);
 }
Exemplo n.º 6
0
 public abstract void Accept(global::Com.Liveperson.Infra.Statemachine.Interfaces.IState p0);
 static void n_ActionOnEntry(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Infra.Statemachine.Interfaces.IState __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IState> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.ActionOnEntry();
 }
Exemplo n.º 8
0
 static void n_Accept_Lcom_liveperson_infra_statemachine_interfaces_IState_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Sdkstatemachine.Events.PreLogoutCompletedEvent __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Sdkstatemachine.Events.PreLogoutCompletedEvent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Statemachine.Interfaces.IState p0 = (global::Com.Liveperson.Infra.Statemachine.Interfaces.IState)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IState> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Accept(p0);
 }
Exemplo n.º 9
0
 static void n_InitActiveState_Lcom_liveperson_infra_statemachine_interfaces_IState_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Statemachine.BaseStateMachine  __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.BaseStateMachine> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Statemachine.Interfaces.IState p0     = (global::Com.Liveperson.Infra.Statemachine.Interfaces.IState)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.Interfaces.IState> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.InitActiveState(p0);
 }