Class: RpcConfig

Inherits:
Object show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/src/ruby/pb/test/xds_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#metadata_to_sendObject (readonly)

Returns the value of attribute metadata_to_send.



43
44
45
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/src/ruby/pb/test/xds_client.rb', line 43

def 
  @metadata_to_send
end

#rpcs_to_sendObject (readonly)

Returns the value of attribute rpcs_to_send.



43
44
45
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/src/ruby/pb/test/xds_client.rb', line 43

def rpcs_to_send
  @rpcs_to_send
end

#timeout_secObject (readonly)

Returns the value of attribute timeout_sec.



43
44
45
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/src/ruby/pb/test/xds_client.rb', line 43

def timeout_sec
  @timeout_sec
end

Instance Method Details

#init(rpcs_to_send, metadata_to_send, timeout_sec = 0) ⇒ Object



44
45
46
47
48
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/src/ruby/pb/test/xds_client.rb', line 44

def init(rpcs_to_send, , timeout_sec = 0)
  @rpcs_to_send = rpcs_to_send
  @metadata_to_send = 
  @timeout_sec = timeout_sec
end