Method: Cod::TcpServer#get
- Defined in:
- lib/cod/tcp_server.rb
#get(opts = {}) ⇒ Object
Receives one object from the channel. This will receive one message from one of the connected clients in a round-robin fashion.
47 48 49 50 |
# File 'lib/cod/tcp_server.rb', line 47 def get(opts={}) msg, socket = _get(opts) return msg end |