Package com.tnsai.mcp.model
Interface ResourceUpdateListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for receiving resource update notifications.
Implement this to handle changes to subscribed MCP resources.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonResourceUpdated(String uri) Called when a subscribed resource has been updated.
-
Method Details
-
onResourceUpdated
Called when a subscribed resource has been updated.- Parameters:
uri- The URI of the updated resource
-