Class AMQ::Client::Async::CoolioClient::Socket
In: lib/amq/client/async/adapters/coolio.rb
Parent: ::Coolio::TCPSocket

Cool.io socket delegates most of its operations to the parent adapter. Thus, 99.9% of the time you don‘t need to deal with this class.

@api private @private

Methods

Attributes

adapter  [RW] 

Public Class methods

Connects to given host/port and sets parent adapter.

@param [CoolioClient] @param [String] @param [Fixnum]

Public Instance methods

Triggers socket_disconnect callback

Triggers socket_connect callback

Triggers tcp_connection_failed callback

Triggers on_read callback

Sends raw data through the socket

param [String] Binary data

Protected Instance methods

Debugging routine

[Validate]