class RlpxAgent {

  public void disconnect(final Bytes peerId, final DisconnectReason reason) {
    RlpxConnection connection = connectionsById.remove(peerId);
    if (connection != null) {
      connection.disconnect(reason);
    }
  }

  private  RlpxAgent(
      final LocalNode localNode,
      final PeerConnectionEvents connectionEvents,
      final ConnectionInitializer connectionInitializer,
      final PeerRlpxPermissions peerPermissions,
      final PeerPrivileges peerPrivileges,
      final int maxConnections,
      final int maxRemotelyInitiatedConnections,
      final MetricsSystem metricsSystem);

}