Sha256: dcf91ee77b680c714817ed1d10167748300937bb7e13108b5b40ab1ef6598476

Contents?: true

Size: 571 Bytes

Versions: 53

Compression:

Stored size: 571 Bytes

Contents

module ActionCable
  module SubscriptionAdapter
    class Base
      attr_reader :logger, :server

      def initialize(server)
        @server = server
        @logger = @server.logger
      end

      def broadcast(channel, payload)
        raise NotImplementedError
      end

      def subscribe(channel, message_callback, success_callback = nil)
        raise NotImplementedError
      end

      def unsubscribe(channel, message_callback)
        raise NotImplementedError
      end

      def shutdown
        raise NotImplementedError
      end
    end
  end
end

Version data entries

53 entries across 53 versions & 4 rubygems

Version Path
actioncable-5.1.3.rc1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.2 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.2.rc1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.4 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.4.rc1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.3 lib/action_cable/subscription_adapter/base.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/actioncable-5.0.2/lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.0 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.0.rc2 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.0.rc1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.2 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.2.rc1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.0.beta1 lib/action_cable/subscription_adapter/base.rb
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/actioncable-5.0.1/lib/action_cable/subscription_adapter/base.rb
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/actioncable-5.0.1/lib/action_cable/subscription_adapter/base.rb
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/actioncable-5.0.1/lib/action_cable/subscription_adapter/base.rb
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/actioncable-5.0.1/lib/action_cable/subscription_adapter/base.rb
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/actioncable-5.0.1/lib/action_cable/subscription_adapter/base.rb
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/actioncable-5.0.1/lib/action_cable/subscription_adapter/base.rb