Interface McpSubscriptionEventListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Thread-safe listener registered with an MCP subscription-event publisher.
Publishers may invoke one listener concurrently for independent events. Listener implementations should return promptly and must not assume which thread performs delivery.
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionvoidonEvent(@NonNull McpSubscriptionEvent subscriptionEvent) Receives one coarse subscription-change event.
-
Method Details
-
onEvent
Receives one coarse subscription-change event.- Parameters:
subscriptionEvent- subscription-change event
-