Esempio n. 1
0
 public ReplyTask( FEZWindow window, TradeResult tradeResult, RuntimeSettings settings, string strictCustomerName, string fuzzyCustomerName )
 {
     this.window = window;
     this.tradeResult = tradeResult;
     this.settings = settings;
     this.strictCustomerName = strictCustomerName;
     this.fuzzyCustomerName = fuzzyCustomerName;
 }
Esempio n. 2
0
        static void Main( string[] args )
        {
            RuntimeSettings settings = new RuntimeSettings( args );

            TextFinder.Initialize();
            Irc.Start( settings );
            TradeLog.Init( settings );

            var keyListener = new Thread( new ThreadStart( ReceiveKeyPress ) );
            keyListener.Start();

            var runner = new DaemonRunner( settings );
            var t = new Thread( new ThreadStart( runner.Run ) );
            t.Start();
            t.Join();

            Irc.Stop();
            Console.WriteLine( "hit any key to exit" );
            stopRequied = true;
        }
Esempio n. 3
0
 public static void Start( RuntimeSettings settings )
 {
     Irc.settings = settings;
     thread = new Thread( new ThreadStart( Run ) );
     thread.Start();
 }
Esempio n. 4
0
 public LoggingTask( TradeResult tradeResult, RuntimeSettings settings )
 {
     this.tradeResult = tradeResult;
     this.settings = settings;
 }