|
cxxmcp 1.1.6
C++ MCP SDK
|
Running client-side MCP service. More...
#include <service.hpp>
Public Member Functions | |
| RunningService (ClientPeer peer) | |
| RunningService (const RunningService &)=delete | |
| RunningService & | operator= (const RunningService &)=delete |
| RunningService (RunningService &&other) noexcept | |
| RunningService & | operator= (RunningService &&other) noexcept |
| ClientPeer & | peer () noexcept |
| const ClientPeer & | peer () const noexcept |
| bool | running () const noexcept |
| CancellationToken | cancellation_token () const noexcept |
| Returns the service cancellation token. | |
| core::Result< core::Unit > | close () noexcept |
| Explicitly closes the running service. | |
| core::Result< core::Unit > | wait () noexcept |
| Waits for service shutdown. | |
| core::Result< core::Unit > | stop () noexcept |
Running client-side MCP service.
|
inlinenoexcept |
Waits for service shutdown.
Blocks until close() or stop() completes.