module Faye::WebSocket::Client::Connection

def connection_completed

def connection_completed
  parent.__send__(:on_connect, self)
end

def receive_data(data)

def receive_data(data)
  parent.__send__(:parse, data)
end

def unbind(error = nil)

def unbind(error = nil)
  parent.__send__(:emit_error, error) if error
  parent.__send__(:finalize_close)
end

def write(data)

def write(data)
  send_data(data) rescue nil
end