2019-03-11 09:00:07 +01:00
|
|
|
|
// /**
|
|
|
|
|
// * File: Program.cs
|
|
|
|
|
// * Author: haraldwolff
|
|
|
|
|
// *
|
|
|
|
|
// * This file and it's content is copyrighted by the Author and / or copyright holder.
|
|
|
|
|
// * Any use wihtout proper permission is illegal and may lead to legal actions.
|
|
|
|
|
// *
|
|
|
|
|
// *
|
|
|
|
|
// **/
|
|
|
|
|
using System;
|
|
|
|
|
using Renci.SshNet;
|
|
|
|
|
using ln.skyscanner.identify;
|
|
|
|
|
using System.Net;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using ln.snmp.types;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using ln.snmp;
|
2019-03-11 15:08:25 +01:00
|
|
|
|
using ln.snmp.endpoint;
|
2019-03-11 09:00:07 +01:00
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
using ln.perfdb.storage;
|
|
|
|
|
using ln.logging;
|
2019-03-11 15:08:25 +01:00
|
|
|
|
using System.Security.Cryptography;
|
2019-03-12 00:55:04 +01:00
|
|
|
|
using ln.snmp.asn1;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using ln.types;
|
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
using ln.snmp.rfc1213;
|
2019-03-13 08:20:53 +01:00
|
|
|
|
using ln.types.sync;
|
|
|
|
|
using ln.skyscanner.crawl;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Net.NetworkInformation;
|
2019-03-21 07:43:32 +01:00
|
|
|
|
using ln.skyscanner.crawl.tests;
|
|
|
|
|
using Castle.DynamicProxy;
|
2019-03-11 09:00:07 +01:00
|
|
|
|
|
|
|
|
|
namespace ln.skyscanner
|
|
|
|
|
{
|
|
|
|
|
class MainClass
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
{
|
2019-03-18 08:12:54 +01:00
|
|
|
|
FileLogger fileLogger = new FileLogger("skyscanner.log");
|
|
|
|
|
fileLogger.MaxLogLevel = LogLevel.DEBUG;
|
|
|
|
|
Logger.Default.Backends.Add(fileLogger);
|
|
|
|
|
|
|
|
|
|
Logger.ConsoleLogger.MaxLogLevel = LogLevel.INFO;
|
2019-03-11 09:00:07 +01:00
|
|
|
|
|
2019-03-21 07:43:32 +01:00
|
|
|
|
Initialize();
|
|
|
|
|
|
2019-03-13 14:18:05 +01:00
|
|
|
|
SkyScanner skyScanner = new SkyScanner(args);
|
|
|
|
|
skyScanner.Start();
|
2019-03-12 00:55:04 +01:00
|
|
|
|
|
2019-03-11 09:00:07 +01:00
|
|
|
|
}
|
2019-03-12 00:55:04 +01:00
|
|
|
|
|
2019-03-21 07:43:32 +01:00
|
|
|
|
private static void Initialize()
|
2019-03-12 00:55:04 +01:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-11 09:00:07 +01:00
|
|
|
|
}
|
|
|
|
|
}
|