Uses of Interface
dev.tachyonmcp.api.server.domain.RequestId
Packages that use RequestId
Package
Description
Domain types for MCP protocol data structures.
Protocol interfaces and domain types for MCP server and client interaction.
Server classes
Internal server engine — request dispatch, session lifecycle, handler wiring.
Session management — dispatch contexts, session lifecycle events, and session storage.
JSON-RPC 2.0 message parsing, serialization, and codec types.
Netty-based HTTP and SSE transport implementation.
-
Uses of RequestId in dev.tachyonmcp.api.server.domain
Classes in dev.tachyonmcp.api.server.domain that implement RequestIdModifier and TypeClassDescriptionstatic final recordAn id carrying a numeric value.static final recordAn id carrying a string value.Methods in dev.tachyonmcp.api.server.domain that return RequestIdModifier and TypeMethodDescriptionstatic RequestIdWraps a raw value as aRequestId.static @Nullable RequestIdRequestId.ofNullable(@Nullable Object value) Wraps a raw value as aRequestId, passing throughnull— for the JSON-RPCidfield, which is legitimately absent on notifications and some error responses. -
Uses of RequestId in dev.tachyonmcp.core.protocol
Methods in dev.tachyonmcp.core.protocol that return RequestIdModifier and TypeMethodDescriptionProtocolRequestMapper.CancellationRequest.requestId()Returns the value of therequestIdrecord component.Constructors in dev.tachyonmcp.core.protocol with parameters of type RequestIdModifierConstructorDescriptionCancellationRequest(RequestId requestId, @Nullable String reason) Creates an instance of aCancellationRequestrecord class. -
Uses of RequestId in dev.tachyonmcp.core.server
Methods in dev.tachyonmcp.core.server with parameters of type RequestIdModifier and TypeMethodDescriptionMcpDispatcher.dispatchRequestAsync(RequestId id, String method, Object params, @Nullable String sessionId) McpDispatcher.dispatchRequestAsync(RequestId id, String method, Object params, @Nullable String sessionId, @Nullable OutboundSseStream outboundSseStream, @Nullable ChannelContext channelContext) static Future<?> Schedules a watchdog that fires afterdelayMsmilliseconds and logs a warning. -
Uses of RequestId in dev.tachyonmcp.core.server.internal
Methods in dev.tachyonmcp.core.server.internal with parameters of type RequestIdModifier and TypeMethodDescriptionbooleanServerEngine.completePendingRequest(@Nullable RequestId requestId, String resultJson) Completes a pending client request with the given result JSON.booleanServerEngine.failPendingRequest(@Nullable RequestId requestId, String message) Fails a pending client request with the given error message.voidServerEngine.registerPendingRequest(RequestId requestId, CompletableFuture<String> future) Registers a pending request with a timeout. -
Uses of RequestId in dev.tachyonmcp.core.server.session
Methods in dev.tachyonmcp.core.server.session that return RequestIdModifier and TypeMethodDescriptionSessionEvent.CancelEvent.requestId()Returns the value of therequestIdrecord component.SessionEvent.OutboundRequestEvent.requestId()Returns the value of therequestIdrecord component.SessionEvent.RequestEvent.requestId()Returns the value of therequestIdrecord component.SessionEvent.ResponseEvent.requestId()Returns the value of therequestIdrecord component.Constructors in dev.tachyonmcp.core.server.session with parameters of type RequestIdModifierConstructorDescriptionCancelEvent(String sessionId, RequestId requestId, long timestamp) Creates an instance of aCancelEventrecord class.OutboundRequestEvent(String sessionId, RequestId requestId, String method, @Nullable String paramsJson, long timestamp, long sseEventId, @Nullable String streamKey) Creates an instance of aOutboundRequestEventrecord class.RequestEvent(String sessionId, RequestId requestId, String method, @Nullable String paramsJson, long timestamp) Creates an instance of aRequestEventrecord class.ResponseEvent(String sessionId, RequestId requestId, String resultJson, long timestamp, long sseEventId, @Nullable String streamKey) Creates an instance of aResponseEventrecord class. -
Uses of RequestId in dev.tachyonmcp.core.transport.jsonrpc
Methods in dev.tachyonmcp.core.transport.jsonrpc that return RequestIdModifier and TypeMethodDescription@Nullable RequestIdJsonRpcMessage.Error.id()Returns the value of theidrecord component.@Nullable RequestIdJsonRpcMessage.id()The request/response ID, ornullfor notifications.@Nullable RequestIdJsonRpcMessage.Notification.id()JsonRpcMessage.Request.id()Returns the value of theidrecord component.@Nullable RequestIdJsonRpcMessage.Response.id()Returns the value of theidrecord component.Methods in dev.tachyonmcp.core.transport.jsonrpc with parameters of type RequestIdModifier and TypeMethodDescriptionstatic byte[]JsonRpcCodec.serializeError(@Nullable RequestId id, int code, String message, @Nullable String dataJson) Serializes a JSON-RPC error response.static StringJsonRpcCodec.serializeRequestAsString(RequestId id, String method, String paramsJson) Serializes a JSON-RPC request to a string.static byte[]JsonRpcCodec.serializeResponse(@Nullable RequestId id, @Nullable String resultJson) Serializes a JSON-RPC response.Constructors in dev.tachyonmcp.core.transport.jsonrpc with parameters of type RequestIdModifierConstructorDescriptionCreates an instance of aErrorrecord class.Creates an instance of aRequestrecord class.Creates an instance of aResponserecord class. -
Uses of RequestId in dev.tachyonmcp.core.transport.netty
Methods in dev.tachyonmcp.core.transport.netty with parameters of type RequestIdModifier and TypeMethodDescriptionstatic io.netty.channel.ChannelFutureMcpResponseWriter.sendInternalError(io.netty.channel.ChannelHandlerContext ctx, RequestId id, @Nullable String origin, ProtocolResponseMapper mapper) Writes a JSON-RPC internal-error response and closes the connection, for a dispatch failure that occurred after a POST-SSE stream had already started (so the normal response path can no longer send a result).