![]() |
Qore json Module 1.11.0
|
MCP notification event data provider. More...
#include <McpNotificationEventDataProvider.qc.dox.h>
Public Member Methods | |
| void | constructor (McpClient mcp) |
| Creates the object with the given MCP client. | |
| void | constructor (soft< hash< auto > > options) |
| Creates the object from constructor options. | |
| void | destructor () |
| Deletes the object. | |
| string | getName () |
| Returns the data provider name. | |
| soft< string > | getDesc () |
| Returns the data provider description. | |
| void | observersReady () |
| Called when all observers have been added to the object. | |
| void | stopEvents () |
| Called to stop generating events. | |
| hash< DataProvider::DataProviderInfo > | getStaticInfoImpl () |
| Returns data provider static info. | |
| hash< string, hash< DataProviderMessageInfo > > | getEventTypesImpl () |
| Returns a hash of all supported event types. | |
| auto | getExampleEventDataImpl (string event_id) |
| Returns example data for the given observable event. | |
| void | start () |
| Starts the SSE listener and registers callbacks. | |
| void | stop () |
| Stops the SSE listener and clears callbacks. | |
| void | registerCallbacks () |
| Registers MCP callbacks for notifications. | |
| void | unregisterCallbacks () |
| Unregisters MCP callbacks. | |
| void | onConnected () |
| Handles SSE connected event. | |
| void | onDisconnected () |
| Handles SSE disconnected event. | |
| void | onToolsChanged () |
| Handles tools changed notifications. | |
| void | onResourcesChanged () |
| Handles resources changed notifications. | |
| void | onPromptsChanged () |
| Handles prompts changed notifications. | |
| void | onLogMessage (soft< string > logger, string level, soft< auto > data) |
| Handles log message notifications. | |
Public Member Methods inherited from McpClientDataProvider::McpClientDataProviderBase | |
| void | constructor (McpClient mcp) |
| Creates the object with the given MCP client. | |
| void | constructor (soft< hash< auto > > options) |
| Creates the object from constructor options. | |
| McpClient | getMcpClient () |
| Returns the MCP client. | |
Public Attributes | |
| const auto | ProviderInfo = ... |
| Provider info. | |
Public Attributes inherited from McpClientDataProvider::McpClientDataProviderBase | |
| const auto | ConstructorOptions = ... |
| Constructor options. | |
Additional Inherited Members | |
Static Public Member Methods inherited from McpClientDataProvider::McpClientDataProviderBase | |
| static soft< McpClient > | getMcpClient (soft< hash< auto > > options) |
| Returns the MCP client from options. | |
| static soft< McpClient > | getMcpClientFromConnection (soft< hash< auto > > options) |
| Returns the MCP client from a connection. | |
Private Attributes inherited from McpClientDataProvider::McpClientDataProviderBase | |
| McpClient | mcp |
| The MCP client. | |
MCP notification event data provider.