コード例 #1
0
ファイル: NetworkPoolListener.cs プロジェクト: vnvizitiu/leak
 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;
 }
コード例 #2
0
ファイル: NetworkPoolInstance.cs プロジェクト: vnvizitiu/leak
        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);
        }
コード例 #3
0
ファイル: NetworkPoolBuilder.cs プロジェクト: vnvizitiu/leak
 public NetworkPoolBuilder()
 {
     configuration = new NetworkPoolConfiguration();
     dependencies  = new NetworkPoolDependencies();
 }