Пример #1
0
        public MemoryMappedDiscoverer(string identifier, IEndpointDecoder <TEndpoint> endpointDecoder, string mapName)
            : base(identifier, endpointDecoder)
        {
            this.mapName = mapName;

            this.blacklistedPayloads = new List <byte[]>();
        }
Пример #2
0
 public InprocDiscoverer(string identifier, IEndpointDecoder <TEndpoint> endpointDecoder)
     : base(identifier, endpointDecoder)
 {
 }
Пример #3
0
 public ADiscoverer(string identifier, IEndpointDecoder <TEndpoint> endpointDecoder)
 {
     this.identifier      = identifier;
     this.endpointDecoder = endpointDecoder;
 }
Пример #4
0
 public StaticDiscoverer(string identifier, IEndpointDecoder <TEndpoint> endpointDecoder, IEnumerable <string> staticHosts)
     : base(identifier, endpointDecoder)
 {
     this.StaticHosts         = staticHosts.ToArray();
     this.DiscoveryRandomizer = new Random();
 }