NotificationRouter class
Routes MCP server-initiated notifications into the runtime / host:
notifications/resources/updated→ runtime resource refresh (MOD-RUNTIME-005, FR-RES-005~006).notifications/message→ host-provided log handler (MCP logging spec; client controls verbosity vialogging/setLevel).
Constructors
- NotificationRouter({Logger? logger})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
{required Client client, required MCPUIRuntime runtime, String? serverId, McpLogMessageHandler? onMcpLogMessage}) → void - FR-RES-005 + MCP logging spec.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited