20#ifndef ORES_SHELL_APP_COMMANDS_CONNECTION_COMMANDS_HPP
21#define ORES_SHELL_APP_COMMANDS_CONNECTION_COMMANDS_HPP
24#include "ores.logging/make_logger.hpp"
25#include "ores.nats/service/nats_client.hpp"
33namespace ores::shell::app::commands {
40 inline static std::string_view logger_name =
41 "ores.shell.app.commands.connection";
45 static auto instance = make_logger(logger_name);
75 std::string
host, std::string port, std::string identifier);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Authenticated NATS client for both interactive and service-to-service use.
Definition nats_client.hpp:71
Manages commands related to connections.
Definition connection_commands.hpp:38
static void process_connect(std::ostream &out, ores::nats::service::nats_client &session, std::string host, std::string port, std::string identifier)
Process a connection request.
Definition connection_commands.cpp:84
static void register_commands(cli::Menu &root, ores::nats::service::nats_client &session)
Register connection management commands.
Definition connection_commands.cpp:71
static void process_disconnect(std::ostream &out, ores::nats::service::nats_client &session)
Process a disconnect request.
Definition connection_commands.cpp:114
Provides hosting clients to the application.
Definition host.hpp:34