Class: Pione::Front::RelayFront
- Inherits:
-
BasicFront
- Object
- PioneObject
- BasicFront
- Pione::Front::RelayFront
- Defined in:
- lib/pione/front/relay-front.rb
Instance Attribute Summary collapse
-
#notification_port ⇒ Object
readonly
Returns the value of attribute notification_port.
-
#tuple_space_server ⇒ Object
readonly
Returns the value of attribute tuple_space_server.
Attributes inherited from BasicFront
Instance Method Summary collapse
-
#initialize(notification_port, tuple_space) ⇒ RelayFront
constructor
Create a new front.
- #notifier ⇒ Object
Methods inherited from BasicFront
#[], #[]=, #child_front_uri, #child_pids, #pid, #register_child, #system_logger, #terminate, #terminate_command, #unregister_child
Constructor Details
#initialize(notification_port, tuple_space) ⇒ RelayFront
Create a new front.
8 9 10 11 12 |
# File 'lib/pione/front/relay-front.rb', line 8 def initialize(notification_port, tuple_space) super(Global.relay_front_port_range) @notification_port = notification_port @tuple_space = tuple_space end |
Instance Attribute Details
#notification_port ⇒ Object (readonly)
Returns the value of attribute notification_port.
4 5 6 |
# File 'lib/pione/front/relay-front.rb', line 4 def notification_port @notification_port end |
#tuple_space_server ⇒ Object (readonly)
Returns the value of attribute tuple_space_server.
5 6 7 |
# File 'lib/pione/front/relay-front.rb', line 5 def tuple_space_server @tuple_space_server end |
Instance Method Details
#notifier ⇒ Object
14 15 16 |
# File 'lib/pione/front/relay-front.rb', line 14 def notifier tuple_space_provider end |