Class | AMQ::Client::Async::CoolioClient |
In: |
lib/amq/client/async/adapters/coolio.rb
|
Parent: | Object |
CoolioClient is a drop-in replacement for EventMachineClient, if you prefer cool.io style.
disconnect | -> | close |
callbacks | [RW] | Hash with available callbacks |
socket | [RW] |
Cool.io socket for multiplexing et al.
@private |
Performs basic initialization. Do not use this method directly, use CoolioClient.connect instead
@see AMQ::Client::Adapter::ClassMethods#connect @api private
Creates a socket and attaches it to cool.io default loop.
Called from CoolioClient.connect
@see AMQ::Client::Adapter::ClassMethods#connect @param [Hash] connection settings @api private
The story about the buffering is kinda similar to EventMachine, you keep receiving more than one frame in a single packet.
@param [String] chunk with binary data received. It could be one frame,
more than one frame or less than one frame.
@api private