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

Methods