Class: MCPClient::ServerStdio::TornDownTransport

Inherits:
Struct
  • Object
show all
Defined in:
lib/mcp_client/server_stdio.rb

Overview

What one teardown claimed: the handles of one process, and the generation the transport moved on to when it claimed them. Torn down from the record, not from the transport, so a teardown that finishes late — after a host request has already established the next process — dismantles only what it claimed.

Instance Attribute Summary collapse

Instance Attribute Details

#generation ⇒ Object

Returns the value of attribute generation

Returns:

  • (Object) —

    the current value of generation



1068
1069
1070
# File 'lib/mcp_client/server_stdio.rb', line 1068

def generation
  @generation
end

#reader_thread ⇒ Object

Returns the value of attribute reader_thread

Returns:

  • (Object) —

    the current value of reader_thread



1068
1069
1070
# File 'lib/mcp_client/server_stdio.rb', line 1068

def reader_thread
  @reader_thread
end

#session ⇒ Object

Returns the value of attribute session

Returns:

  • (Object) —

    the current value of session



1068
1069
1070
# File 'lib/mcp_client/server_stdio.rb', line 1068

def session
  @session
end

#stderr ⇒ Object

Returns the value of attribute stderr

Returns:

  • (Object) —

    the current value of stderr



1068
1069
1070
# File 'lib/mcp_client/server_stdio.rb', line 1068

def stderr
  @stderr
end

#stderr_thread ⇒ Object

Returns the value of attribute stderr_thread

Returns:

  • (Object) —

    the current value of stderr_thread



1068
1069
1070
# File 'lib/mcp_client/server_stdio.rb', line 1068

def stderr_thread
  @stderr_thread
end

#stdin ⇒ Object

Returns the value of attribute stdin

Returns:

  • (Object) —

    the current value of stdin



1068
1069
1070
# File 'lib/mcp_client/server_stdio.rb', line 1068

def stdin
  @stdin
end

#stdout ⇒ Object

Returns the value of attribute stdout

Returns:

  • (Object) —

    the current value of stdout



1068
1069
1070
# File 'lib/mcp_client/server_stdio.rb', line 1068

def stdout
  @stdout
end

#wait_thread ⇒ Object

Returns the value of attribute wait_thread

Returns:

  • (Object) —

    the current value of wait_thread



1068
1069
1070
# File 'lib/mcp_client/server_stdio.rb', line 1068

def wait_thread
  @wait_thread
end