Methods
- B
- I
- N
- S
- U
Attributes
| [R] | logger | |
| [R] | server |
Class Public methods
new(server) Link
Source: show
# File actioncable/lib/action_cable/subscription_adapter/base.rb, line 8 def initialize(server) @server = server @logger = @server.logger end
Instance Public methods
broadcast(channel, payload) Link
Source: show
# File actioncable/lib/action_cable/subscription_adapter/base.rb, line 13 def broadcast(channel, payload) raise NotImplementedError end
identifier() Link
Source: show
# File actioncable/lib/action_cable/subscription_adapter/base.rb, line 29 def identifier @server.config.cable[:id] ||= "ActionCable-PID-#{$$}" end
shutdown() Link
Source: show
# File actioncable/lib/action_cable/subscription_adapter/base.rb, line 25 def shutdown raise NotImplementedError end