private SnooperRunner CreateAndInitializeSnooperRunner()
        {
            var snooperRunner = new SnooperRunner();

            snooperRunner.RegisterSnooper <SnooperDns>();
            snooperRunner.RegisterSnooper <SnooperHttp>();

            return(snooperRunner);
        }
Exemple #2
0
        private static SnooperRunner CreateSnooperManager()
        {
            var snooperManager = new SnooperRunner();

            snooperManager.RegisterSnooper <SnooperDns>();
            snooperManager.RegisterSnooper <SnooperHttp>();
            snooperManager.RegisterSnooper <SnooperTls>();

            return(snooperManager);
        }
 private Task <SnooperExportCollection> ProcessConversationAsync(L7Conversation conversation, SnooperRunner snooperRunner)
 {
     return(Task.Run(() => snooperRunner.Run(conversation)));
 }