Class: MCPClient::JsonRpcCommon::InputWaits::InputRequiredWait

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

Overview

What the host is told before each paced retry of a continuation that asked for nothing (an out-of-band interaction still in progress): the request, how many round trips it has taken, the pause about to be taken, the server's requestState, the InputRequiredResult itself and the seconds spent waiting so far.

Instance Attribute Summary collapse

Instance Attribute Details

#delay ⇒ Object

Returns the value of attribute delay

Returns:

  • (Object) —

    the current value of delay



18
19
20
# File 'lib/mcp_client/json_rpc_common/input_waits.rb', line 18

def delay
  @delay
end

#elapsed ⇒ Object

Returns the value of attribute elapsed

Returns:

  • (Object) —

    the current value of elapsed



18
19
20
# File 'lib/mcp_client/json_rpc_common/input_waits.rb', line 18

def elapsed
  @elapsed
end

#request_state ⇒ Object

Returns the value of attribute request_state

Returns:

  • (Object) —

    the current value of request_state



18
19
20
# File 'lib/mcp_client/json_rpc_common/input_waits.rb', line 18

def request_state
  @request_state
end

#result ⇒ Object

Returns the value of attribute result

Returns:

  • (Object) —

    the current value of result



18
19
20
# File 'lib/mcp_client/json_rpc_common/input_waits.rb', line 18

def result
  @result
end

#round_trip ⇒ Object

Returns the value of attribute round_trip

Returns:

  • (Object) —

    the current value of round_trip



18
19
20
# File 'lib/mcp_client/json_rpc_common/input_waits.rb', line 18

def round_trip
  @round_trip
end

#rpc_method ⇒ Object

Returns the value of attribute rpc_method

Returns:

  • (Object) —

    the current value of rpc_method



18
19
20
# File 'lib/mcp_client/json_rpc_common/input_waits.rb', line 18

def rpc_method
  @rpc_method
end