Class: Pione::Front::RelayFront

Inherits:
BasicFront
  • Object
show all
Defined in:
lib/pione/front/relay-front.rb

Instance Attribute Summary collapse

Attributes inherited from BasicFront

#uri

Instance Method Summary collapse

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_portObject (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_serverObject (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

#notifierObject



14
15
16
# File 'lib/pione/front/relay-front.rb', line 14

def notifier
  tuple_space_provider
end