interface ConnectionManager {
    acceptIncomingConnection(maConn): Promise<boolean>;
    afterUpgradeInbound(): void;
    closeConnections(peer, options?): Promise<void>;
    getConnections(peerId?): Connection[];
    getConnectionsMap(): PeerMap<Connection[]>;
    getDialQueue(): PendingDial[];
    isDialable(multiaddr, options?): Promise<boolean>;
    openConnection(peer, options?): Promise<Connection>;
}

Methods