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