Uses of Class
dev.tachyonmcp.core.runtime.Session
Packages that use Session
Package
Description
Runtime context, session management, and SSE connection abstractions for
request processing.
Server classes
Internal server engine — request dispatch, session lifecycle, handler wiring.
Session management — dispatch contexts, session lifecycle events, and session storage.
Netty-based HTTP and SSE transport implementation.
Netty Server-Sent Events (SSE) transport for MCP streamable HTTP.
-
Uses of Session in dev.tachyonmcp.core.runtime
Methods in dev.tachyonmcp.core.runtime that return SessionModifier and TypeMethodDescription@Nullable SessionChannelContext.session()Returns the current session, ornullif not yet established.@Nullable SessionDefaultChannelContext.session()@Nullable SessionInteractionEvent.OperationStarted.session()Returns the value of thesessionrecord component.Methods in dev.tachyonmcp.core.runtime with parameters of type SessionModifier and TypeMethodDescriptionvoidChannelContext.setSession(@Nullable Session session) Sets the session for this channel.voidDefaultChannelContext.setSession(@Nullable Session session) Constructors in dev.tachyonmcp.core.runtime with parameters of type SessionModifierConstructorDescriptionOperationStarted(@Nullable Session session) Creates an instance of aOperationStartedrecord class. -
Uses of Session in dev.tachyonmcp.core.server
Methods in dev.tachyonmcp.core.server with parameters of type SessionModifier and TypeMethodDescription@Nullable OutboundSseStream@Nullable OutboundSseStreamResolves theOutboundSseStreambound in the current dispatch context for the given session, if any. -
Uses of Session in dev.tachyonmcp.core.server.internal
Methods in dev.tachyonmcp.core.server.internal that return SessionModifier and TypeMethodDescriptionServerEngine.createSession(String sessionId) Creates and registers a new session with the given ID.Methods in dev.tachyonmcp.core.server.internal that return types with arguments of type SessionModifier and TypeMethodDescriptionServerEngine.getSession(String sessionId) Returns the session with the given ID, if present.Methods in dev.tachyonmcp.core.server.internal with parameters of type SessionModifier and TypeMethodDescriptionvoidServerEngine.sendNotification(Session session, String method, @Nullable Object params, @Nullable OutboundSseStream stream) Sends a notification to the given session, optionally via a bound outbound SSE stream.voidServerEngine.sendNotification(Session session, String method, Object params) Sends a notification to the given session.ServerEngine.sendRequest(Session session, String method, Object params) Sends a request to the client and returns a future that completes with the response.ServerEngine.sendRequest(Session session, String method, Object params, @Nullable OutboundSseStream stream) Sends a request to the client, optionally via a bound outbound SSE stream, and returns a future. -
Uses of Session in dev.tachyonmcp.core.server.session
Methods in dev.tachyonmcp.core.server.session that return SessionModifier and TypeMethodDescriptionInMemorySessionStore.computeIfAbsent(String sessionId, Function<String, Session> factory) SessionStore.computeIfAbsent(String sessionId, Function<String, Session> factory) Returns the existing session or creates and stores a new one via the factory.SessionManager.createSession(String sessionId) Creates a session with no initial connection.SessionManager.createSession(String sessionId, SseConnection connection) Creates a session with the given SSE connection.@Nullable Session@Nullable SessionStores a session, returning any previous session with the same ID.@Nullable Session@Nullable SessionRemoves and returns the session for the given ID.@Nullable SessionDefaultDispatchContext.session()@Nullable SessionNoopInteractionContext.session()Methods in dev.tachyonmcp.core.server.session that return types with arguments of type SessionModifier and TypeMethodDescriptionSessionManager.allSessions()Returns all active sessions.Returns the session for the given ID, if present.SessionManager.getSession(@Nullable String sessionId) Returns the session for the given ID, if present.InMemorySessionStore.values()SessionStore.values()Returns all stored sessions.Methods in dev.tachyonmcp.core.server.session with parameters of type SessionModifier and TypeMethodDescription@Nullable Session@Nullable SessionStores a session, returning any previous session with the same ID.booleandefault booleanRemoves the session for the given ID only if the stored instance isexpected, returning whether it was removed.voidDefaultDispatchContext.setSession(@Nullable Session session) voidNoopInteractionContext.setSession(@Nullable Session session) Method parameters in dev.tachyonmcp.core.server.session with type arguments of type SessionModifier and TypeMethodDescriptionInMemorySessionStore.computeIfAbsent(String sessionId, Function<String, Session> factory) SessionStore.computeIfAbsent(String sessionId, Function<String, Session> factory) Returns the existing session or creates and stores a new one via the factory. -
Uses of Session in dev.tachyonmcp.core.transport.netty
Methods in dev.tachyonmcp.core.transport.netty that return SessionModifier and TypeMethodDescriptionstatic @Nullable SessionChannelHandlerUtils.getSession(io.netty.channel.Channel channel) Returns the session bound to this channel, ornull.Methods in dev.tachyonmcp.core.transport.netty with parameters of type SessionModifier and TypeMethodDescriptionstatic voidChannelHandlerUtils.setSession(io.netty.channel.ChannelHandlerContext ctx, Session session) Binds a session to the channel and installs theSessionTouchHandlerif not already present. -
Uses of Session in dev.tachyonmcp.core.transport.netty.sse
Methods in dev.tachyonmcp.core.transport.netty.sse with parameters of type SessionModifier and TypeMethodDescriptionvoidSseManager.openStream(io.netty.channel.ChannelHandlerContext ctx, Session session, @Nullable String lastEventId, @Nullable String origin)