Class: HrrRbSsh::Connection::Channel::ChannelType::Session::RequestType::Exec
- Inherits:
-
HrrRbSsh::Connection::Channel::ChannelType::Session::RequestType
- Object
- HrrRbSsh::Connection::Channel::ChannelType::Session::RequestType
- HrrRbSsh::Connection::Channel::ChannelType::Session::RequestType::Exec
- Defined in:
- lib/hrr_rb_ssh/connection/channel/channel_type/session/request_type/exec.rb,
lib/hrr_rb_ssh/connection/channel/channel_type/session/request_type/exec/context.rb
Defined Under Namespace
Classes: Context
Constant Summary collapse
- NAME =
'exec'
Class Method Summary collapse
Methods included from SubclassWithoutPreferenceListable
#[], #inherited, #list_supported
Class Method Details
.run(proc_chain, username, io, variables, message, options, session, logger: nil) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/hrr_rb_ssh/connection/channel/channel_type/session/request_type/exec.rb', line 15 def self.run proc_chain, username, io, variables, , , session, logger: nil context = Context.new proc_chain, username, io, variables, , session, logger: logger handler = .fetch('connection_channel_request_exec', RequestHandler.new {}) handler.run context proc_chain.connect context.chain_proc end |