public LocalDockerClient(ServiceConfig config, IAufsFilter filter, ILayerExtractor extractor, IAuthHandler auth, ILogger <LocalDockerClient> logger) : base(config, auth)
 {
     this.filter    = filter;
     this.extractor = extractor;
     this.logger    = logger;
     RecurseClient  = this;
 }
 public void Setup()
 {
     _target             = new LayerExtractor();
     _dummyPacketBuilder = new DummyPacketBuilder(new DummyLayerCreator());
     _dummyPacket        = _dummyPacketBuilder.GetDummyTcpPacket();
     _udpDummyPacket     = _dummyPacketBuilder.GetDummyUdpPacket();
     _icmpDummyPacket    = _dummyPacketBuilder.GetDummyIcmpEchoRequestPacket();
 }
Esempio n. 3
0
 public ClientFactory(ServiceConfig config, ILoggerFactory loggerFactory, IAufsFilter indexer, ILayerExtractor extractor, ICacheFactory cacheFactory)
 {
     this.config        = config;
     this.loggerFactory = loggerFactory;
     logger             = loggerFactory.CreateLogger <ClientFactory>();
     this.indexer       = indexer;
     this.extractor     = extractor;
     this.cacheFactory  = cacheFactory;
 }