class Cable::DevBackend
- Cable::DevBackend
- Cable::BackendCore
- Reference
- Object
Defined in:
backend/dev/backend.crClass Method Summary
-
.published_messages
Store the published
stream_identifier
andmessage
- .reset
-
.subscriptions
Store the
stream_identifier
on#subscribe
Instance Method Summary
- #close_publish_connection
- #close_subscribe_connection
-
#open_subscribe_connection(channel)
internal pub/sub
- #ping_redis_publish
- #ping_redis_subscribe
- #publish_connection
-
#publish_message(stream_identifier : String, message : String)
external pub/sub
-
#subscribe(stream_identifier : String)
channel management
-
#subscribe_connection
connection management
- #unsubscribe(stream_identifier : String)
Instance methods inherited from class Cable::BackendCore
close_publish_connection
close_publish_connection,
close_subscribe_connection
close_subscribe_connection,
open_subscribe_connection(channel)
open_subscribe_connection,
ping_redis_publish
ping_redis_publish,
ping_redis_subscribe
ping_redis_subscribe,
publish_connection
publish_connection,
publish_message(stream_identifier : String, message : String)
publish_message,
subscribe(stream_identifier : String)
subscribe,
subscribe_connection
subscribe_connection,
unsubscribe(stream_identifier : String)
unsubscribe
Class Method Detail
Instance Method Detail
def open_subscribe_connection(channel)
#
Description copied from class Cable::BackendCore
internal pub/sub
def publish_message(stream_identifier : String, message : String)
#
Description copied from class Cable::BackendCore
external pub/sub
def subscribe(stream_identifier : String)
#
Description copied from class Cable::BackendCore
channel management