Esempio n. 1
0
        ////def self.start(host, port, user, password)
        ////  processor = new(host, port, user, password)
        ////  processor.start
        ////  processor
        ////end

        public static AlertProcessor Start(string host, string port, string user, string password)
        {
            var processor = new AlertProcessor(host, port, user, password);

            processor.Start();
            return(processor);
        }
 ////def self.start(host, port, user, password)
 ////  processor = new(host, port, user, password)
 ////  processor.start
 ////  processor
 ////end
 public static AlertProcessor Start(string host, string port, string user, string password)
 {
     var processor = new AlertProcessor(host, port, user, password);
     processor.Start();
     return processor;
 }