Class InitializeHandler
java.lang.Object
dev.tachyonmcp.core.server.handlers.InitializeHandler
- All Implemented Interfaces:
RpcMethodHandler
-
Constructor Details
-
InitializeHandler
-
-
Method Details
-
method
Description copied from interface:RpcMethodHandlerThe JSON-RPC method name this handler dispatches to.- Specified by:
methodin interfaceRpcMethodHandler- Returns:
- the method name
-
handle
Description copied from interface:RpcMethodHandlerHandles the method and returns the result to serialize as JSON-RPC response.- Specified by:
handlein interfaceRpcMethodHandler- Parameters:
context- the dispatch context with server and outbound stream accessparams- the method parameters, ornull- Returns:
- the result to serialize
-