Methods

Attributes

[R] logger
[R] server

Class Public methods

new(server)

📝 Source code
# File actioncable/lib/action_cable/subscription_adapter/base.rb, line 8
      def initialize(server)
        @server = server
        @logger = @server.logger
      end
🔎 See on GitHub

Instance Public methods

broadcast(channel, payload)

📝 Source code
# File actioncable/lib/action_cable/subscription_adapter/base.rb, line 13
      def broadcast(channel, payload)
        raise NotImplementedError
      end
🔎 See on GitHub

shutdown()

📝 Source code
# File actioncable/lib/action_cable/subscription_adapter/base.rb, line 25
      def shutdown
        raise NotImplementedError
      end
🔎 See on GitHub

subscribe(channel, message_callback, success_callback = nil)

📝 Source code
# File actioncable/lib/action_cable/subscription_adapter/base.rb, line 17
      def subscribe(channel, message_callback, success_callback = nil)
        raise NotImplementedError
      end
🔎 See on GitHub

unsubscribe(channel, message_callback)

📝 Source code
# File actioncable/lib/action_cable/subscription_adapter/base.rb, line 21
      def unsubscribe(channel, message_callback)
        raise NotImplementedError
      end
🔎 See on GitHub