The GW provides a synchronized store for participants in the gateway to communicate.

Methods
#
N
Included Modules
Class Public methods
new()

Creates a new GW

# File lib/drb/gw.rb, line 50
def initialize
  super()
  @hash = {}
end
Instance Public methods
[](key)

Retrieves key from the GW

# File lib/drb/gw.rb, line 57
def [](key)
  synchronize do
    @hash[key]
  end
end
[]=(key, v)

Stores value v at key in the GW

# File lib/drb/gw.rb, line 65
def []=(key, v)
  synchronize do
    @hash[key] = v
  end
end