Sha256: ced0dcfd7eb4c3dc14737f06b6fe553445b39e0b1af6fa25a06e91237208c0bc
Contents?: true
Size: 358 Bytes
Versions: 2
Compression:
Stored size: 358 Bytes
Contents
class Fwd::Input < EM::Connection extend Forwardable def_delegators :core, :logger attr_reader :core, :buffer # @param [Fwd] core # @param [Fwd::Buffer] buffer def initialize(core, buffer) @core = core @buffer = buffer end # When receiving data, concat it to the buffer def receive_data(data) buffer.concat(data) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fwd-0.4.0 | lib/fwd/input.rb |
fwd-0.3.3 | lib/fwd/input.rb |