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-6.0.6.1 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.6 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.5.1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.8.1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.8 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.5 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.4.8 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.7.1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.7 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.4.7 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.6.3 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.4.6 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.6.2 lib/action_cable/subscription_adapter/base.rb
actioncable-5.2.6.1 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.4.5 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.4.4 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.4.3 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.4.2 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.4.1 lib/action_cable/subscription_adapter/base.rb
actioncable-6.0.4 lib/action_cable/subscription_adapter/base.rb