Class: Shikibu::Notify::NotifyListener

Inherits:
Object
  • Object
show all
Defined in:
lib/shikibu/notify/notify_base.rb

Overview

Base class defining the notify listener interface

Direct Known Subclasses

NoopNotifyListener, PostgresNotifyListener

Instance Method Summary collapse

Instance Method Details

#connected?Boolean

Returns:



21
# File 'lib/shikibu/notify/notify_base.rb', line 21

def connected? = false

#startObject



17
# File 'lib/shikibu/notify/notify_base.rb', line 17

def start; end

#stopObject



18
# File 'lib/shikibu/notify/notify_base.rb', line 18

def stop; end

#subscribe(_channel) ⇒ Object



19
# File 'lib/shikibu/notify/notify_base.rb', line 19

def subscribe(_channel, &); end

#unsubscribe(_channel) ⇒ Object



20
# File 'lib/shikibu/notify/notify_base.rb', line 20

def unsubscribe(_channel); end