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.7 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.7.rc1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.6.2 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.7.2 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.6.1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.7.1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.6 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.7 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.5 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.5.rc1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.4 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.6 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.4.rc1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.6.rc1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.3 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.3.rc3 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.5 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.5.rc2 lib/action_cable/subscription_adapter/base.rb
actioncable-5.1.3.rc2 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.5.rc1 lib/action_cable/subscription_adapter/base.rb