abstract class Cable::BackendCore

Direct Known Subclasses

Defined in:

cable/backend_core.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.register(uri_scheme : String, backend : BackendCore.class = self) #

Instance Method Detail

abstract def close_publish_connection #

abstract def close_subscribe_connection #

abstract def open_subscribe_connection(channel) #

internal pub/sub


abstract def ping_publish_connection #

abstract def ping_subscribe_connection #

ping/pong


abstract def publish_connection #

abstract def publish_message(stream_identifier : String, message : String) #

external pub/sub


abstract def subscribe(stream_identifier : String) #

channel management


abstract def subscribe_connection #

connection management


abstract def unsubscribe(stream_identifier : String) #