예제 #1
0
        public PeerConnectorContext(PeerConnectorDependencies dependencies, PeerConnectorHooks hooks, PeerConnectorConfiguration configuration)
        {
            this.dependencies  = dependencies;
            this.hooks         = hooks;
            this.configuration = configuration;

            queue = new LeakQueue <PeerConnectorContext>(this);
        }
예제 #2
0
 public PeerConnector(PeerConnectorDependencies dependencies, PeerConnectorHooks hooks, PeerConnectorConfiguration configuration)
 {
     context = new PeerConnectorContext(dependencies, hooks, configuration);
 }
예제 #3
0
 public PeerConnectorBuilder()
 {
     dependencies  = new PeerConnectorDependencies();
     configuration = new PeerConnectorConfiguration();
 }