private SnooperRunner CreateAndInitializeSnooperRunner() { var snooperRunner = new SnooperRunner(); snooperRunner.RegisterSnooper <SnooperDns>(); snooperRunner.RegisterSnooper <SnooperHttp>(); return(snooperRunner); }
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))); }