Class: VectorMCP::Transport::HttpStream::StreamHandler::StreamingConnection Private
- Inherits:
-
Struct
- Object
- Struct
- VectorMCP::Transport::HttpStream::StreamHandler::StreamingConnection
- Defined in:
- lib/vector_mcp/transport/http_stream/stream_handler.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Streaming connection data structure
Instance Attribute Summary collapse
-
#closed ⇒ Object
Returns the value of attribute closed.
-
#session ⇒ Object
Returns the value of attribute session.
-
#thread ⇒ Object
Returns the value of attribute thread.
-
#yielder ⇒ Object
Returns the value of attribute yielder.
Instance Method Summary collapse
- #close ⇒ Object private
- #closed? ⇒ Boolean private
Instance Attribute Details
#closed ⇒ Object
Returns the value of attribute closed
21 22 23 |
# File 'lib/vector_mcp/transport/http_stream/stream_handler.rb', line 21 def closed @closed end |
#session ⇒ Object
Returns the value of attribute session
21 22 23 |
# File 'lib/vector_mcp/transport/http_stream/stream_handler.rb', line 21 def session @session end |
#thread ⇒ Object
Returns the value of attribute thread
21 22 23 |
# File 'lib/vector_mcp/transport/http_stream/stream_handler.rb', line 21 def thread @thread end |
#yielder ⇒ Object
Returns the value of attribute yielder
21 22 23 |
# File 'lib/vector_mcp/transport/http_stream/stream_handler.rb', line 21 def yielder @yielder end |
Instance Method Details
#close ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
22 23 24 25 |
# File 'lib/vector_mcp/transport/http_stream/stream_handler.rb', line 22 def close self.closed = true thread&.kill end |
#closed? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
27 28 29 |
# File 'lib/vector_mcp/transport/http_stream/stream_handler.rb', line 27 def closed? closed end |