Exemplo n.º 1
0
        public PeerConnectorContext(PeerConnectorDependencies dependencies, PeerConnectorHooks hooks, PeerConnectorConfiguration configuration)
        {
            this.dependencies  = dependencies;
            this.hooks         = hooks;
            this.configuration = configuration;

            queue = new LeakQueue <PeerConnectorContext>(this);
        }
Exemplo n.º 2
0
 public PeerConnector(PeerConnectorDependencies dependencies, PeerConnectorHooks hooks, PeerConnectorConfiguration configuration)
 {
     context = new PeerConnectorContext(dependencies, hooks, configuration);
 }
Exemplo n.º 3
0
 public PeerConnectorBuilder()
 {
     dependencies  = new PeerConnectorDependencies();
     configuration = new PeerConnectorConfiguration();
 }