Class: Ace::Hitl::Hermes::Molecules::HermesChannels::Channel
- Inherits:
-
Struct
- Object
- Struct
- Ace::Hitl::Hermes::Molecules::HermesChannels::Channel
- Defined in:
- lib/ace/hitl/hermes/molecules/hermes_channels.rb
Overview
One shared folder between lab and hermes (spec 8wm.t.vs1 §2).
folder is the absolute directory path; the message address
is <machine>/<name>/<id> where <name> is the channel (and
folder basename) token.
Instance Attribute Summary collapse
-
#folder ⇒ Object
Returns the value of attribute folder.
-
#machine ⇒ Object
Returns the value of attribute machine.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#folder ⇒ Object
Returns the value of attribute folder
14 15 16 |
# File 'lib/ace/hitl/hermes/molecules/hermes_channels.rb', line 14 def folder @folder end |
#machine ⇒ Object
Returns the value of attribute machine
14 15 16 |
# File 'lib/ace/hitl/hermes/molecules/hermes_channels.rb', line 14 def machine @machine end |
#name ⇒ Object
Returns the value of attribute name
14 15 16 |
# File 'lib/ace/hitl/hermes/molecules/hermes_channels.rb', line 14 def name @name end |
Instance Method Details
#address(id) ⇒ Object
19 20 21 |
# File 'lib/ace/hitl/hermes/molecules/hermes_channels.rb', line 19 def address(id) "#{machine}/#{name}/#{id}" end |
#path ⇒ Object
15 16 17 |
# File 'lib/ace/hitl/hermes/molecules/hermes_channels.rb', line 15 def path folder end |