Class: VectorMCP::Transport::SSE::ClientConnection
- Inherits:
-
Struct
- Object
- Struct
- VectorMCP::Transport::SSE::ClientConnection
- Defined in:
- lib/vector_mcp/transport/sse.rb
Overview
Internal structure to hold client connection state, including its unique ID, a message queue for outbound messages, and the Async task managing its stream.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
String The unique ID for this client connection (session_id).
-
#queue ⇒ Object
readonly
Async::Queue The queue for messages to be sent to this client.
-
#task ⇒ Object
Async::Task The task managing the SSE stream for this client.
Instance Attribute Details
#id ⇒ Object (readonly)
String The unique ID for this client connection (session_id).
50 |
# File 'lib/vector_mcp/transport/sse.rb', line 50 ClientConnection = Struct.new(:id, :queue, :task) |
#queue ⇒ Object (readonly)
Async::Queue The queue for messages to be sent to this client.
50 |
# File 'lib/vector_mcp/transport/sse.rb', line 50 ClientConnection = Struct.new(:id, :queue, :task) |
#task ⇒ Object
Async::Task The task managing the SSE stream for this client.
50 |
# File 'lib/vector_mcp/transport/sse.rb', line 50 ClientConnection = Struct.new(:id, :queue, :task) |