Sha256: f76224bbb740e0ede81f2e736eead533ed0d3f46bb2dde3694c319f75694d9d0

Contents?: true

Size: 425 Bytes

Versions: 4

Compression:

Stored size: 425 Bytes

Contents

module Punchblock
  class GenericConnection
    attr_accessor :event_queue

    ##
    # @param [Hash] options
    # @option options [Logger] :transport_logger The logger to which transport events will be logged
    #
    def initialize(options = {})
      @event_queue = Queue.new
      @logger = options.delete(:transport_logger) if options[:transport_logger]
    end

    def connected
      'CONNECTED'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
punchblock-0.4.3 lib/punchblock/generic_connection.rb
punchblock-0.4.2 lib/punchblock/generic_connection.rb
punchblock-0.4.1 lib/punchblock/generic_connection.rb
punchblock-0.4.0 lib/punchblock/generic_connection.rb