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
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/actioncable-5.0.1/lib/action_cable/subscription_adapter/base.rb
abaci-0.3.0 vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.1.rc2 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.1.rc1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.0.1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.0 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.0.rc2 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.0.racecar1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.0.rc1 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.0.beta4 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.0.beta3 lib/action_cable/subscription_adapter/base.rb
actioncable-5.0.0.beta2 lib/action_cable/subscription_adapter/base.rb