Sha256: 33a37a6bbd822898bd6fa01497226452d1b09c59e607399f1e4d1e7471e627e5
Contents?: true
Size: 697 Bytes
Versions: 3
Compression:
Stored size: 697 Bytes
Contents
module Tribe module EM module AmfSocket class Connection < Tribe::EM::Connection def self.proxy_class return Tribe::EM::AmfSocket::ActorProxy end private def write(data) raise 'This method can not be used with AMF Socket.' end def write_message(command, params = {}) @_actor_proxy.write_message(command, params) end # # Command handlers. # def on_receive_message(event) receive_message_handler(event.data) end # # System handlers. # def receive_message_handler(message) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tribe_em_amfsocket-0.4.0 | lib/tribe_em_amfsocket/connection.rb |
tribe_em_amfsocket-0.3.1 | lib/tribe_em_amfsocket/connection.rb |
tribe_em_amfsocket-0.3.0 | lib/tribe_em_amfsocket/connection.rb |