コード例 #1
0
ファイル: Program.cs プロジェクト: tdonkor/PAY_ROI_LANE3000
        static void Main(string[] args)
        {
            CoreCommunicator coreCommunicator = new CoreCommunicator();

            PayIngenicoLANE3000 payIngenicoLANE3000 = new PayIngenicoLANE3000(coreCommunicator);

            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);

            Log.Info(PayIngenicoLANE3000.PAY_INGENICO_LANE3000_LOG, "Pay Conexflow started.");
        }
コード例 #2
0
        public PayIngenicoIpp350(CoreCommunicator coreCommunicator)
        {
            this.coreCommunicator = coreCommunicator;

            //Hook the callback methods of the communicator to the ones of current class
            coreCommunicator.CommunicatorCallbacks = this;

            //Try to start the communication with the Visual Plugin socket
            c3NetCommunicator = new C3NetCommunicator.C3NetCommunicator();
            c3NetCommunicator.OnReceivedMessageEventHandler += DoOnReceivedMessageEventHandler;
            c3NetCommunicator.OnSendMessageEventHandler     += DoOnSendMessageEventHandler;

            //Set the Periodical Check Timer
            periodicalCheckTimer          = new System.Timers.Timer();
            periodicalCheckTimer.Elapsed += ElapsedPeriodicalCheckTimer;
        }