Methods
L
N
S
Included Modules
Attributes
[RW] name
[R] there
Class Public methods
new(server, there)
# File sample/drb/dchats.rb, line 11
def initialize(server, there)
  @server = server
  @there = there
  @name = there.name
  @key = there.key = Time.now
end
Instance Public methods
listen(str)
# File sample/drb/dchats.rb, line 24
def listen(str)
  @there.message(@key, str)
end
say(str)
# File sample/drb/dchats.rb, line 20
def say(str)
  @server.distribute(@there, str)
end