Class: PSRP::WSMV::InitRunspacePool
- Defined in:
- lib/wsmv/commands/init_runspace_pool.rb
Overview
WSMV message to create a remote shell
Instance Attribute Summary collapse
-
#shell_id ⇒ Object
Returns the value of attribute shell_id.
Instance Method Summary collapse
-
#initialize(session_opts) ⇒ InitRunspacePool
constructor
A new instance of InitRunspacePool.
Methods inherited from Base
Constructor Details
#initialize(session_opts) ⇒ InitRunspacePool
Returns a new instance of InitRunspacePool.
28 29 30 31 |
# File 'lib/wsmv/commands/init_runspace_pool.rb', line 28 def initialize(session_opts) @session_opts = session_opts @shell_id = SecureRandom.uuid.to_s.upcase end |
Instance Attribute Details
#shell_id ⇒ Object
Returns the value of attribute shell_id.
26 27 28 |
# File 'lib/wsmv/commands/init_runspace_pool.rb', line 26 def shell_id @shell_id end |