public NetworkPoolListener(Dictionary <long, NetworkPoolEntry> items, NetworkPoolQueue queue, NetworkPoolHooks hooks, NetworkPoolConfiguration configuration, NetworkPoolDependencies dependencies) { this.items = items; this.queue = queue; this.hooks = hooks; this.configuration = configuration; this.dependencies = dependencies; }
public NetworkPoolInstance(NetworkPoolDependencies dependencies, NetworkPoolConfiguration configuration, NetworkPoolHooks hooks) { this.hooks = hooks; this.dependencies = dependencies; this.configuration = configuration; factory = new SocketFactory(dependencies.Completion); items = new Dictionary <long, NetworkPoolEntry>(); queue = new NetworkPoolQueue(this); }
public NetworkPoolBuilder() { configuration = new NetworkPoolConfiguration(); dependencies = new NetworkPoolDependencies(); }