Sha256: c40a86702b05822cbe0dc1335e5829d6c188def6864679f4258a3e852a050b0a

Contents?: true

Size: 602 Bytes

Versions: 72

Compression:

Stored size: 602 Bytes

Contents

# frozen_string_literal: true

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

72 entries across 72 versions & 6 rubygems

Version Path
actioncable-5.2.6 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.3.7 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.4.6 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.3.6 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.5 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.3.5 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.4.5 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.3.4 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.4.4 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.3.3 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.3.2 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.3.1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.4.3 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.3 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.3.rc1 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.2.2 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.4.2 lib/action_cable/subscription_adapter/base.rb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/actioncable-6.0.2.1/lib/action_cable/subscription_adapter/base.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/actioncable-6.0.2.1/lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.2.1 lib/action_cable/subscription_adapter/base.rb