Class: LanGrove::Client::Datagram

Inherits:
Base
  • Object
show all
Defined in:
lib/langrove/client/datagram.rb

Instance Attribute Summary

Attributes inherited from Base

#config, #handler, #protocol

Instance Method Summary collapse

Methods inherited from Base

#receive_data

Instance Method Details

#receive(data) ⇒ Object



10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/langrove/client/datagram.rb', line 10

def receive( data )

  #
  # Quick hack, datagram client routes
  # data back to the Handler - to get
  # back to friday position.
  # 
  # But with the gem
  #
  
  @handler.receive( data )
  
end