Class: RMB::Subscriber

Inherits:
Object
  • Object
show all
Defined in:
lib/subscriber.rb

Direct Known Subclasses

StompSubscriber

Instance Method Summary collapse

Instance Method Details

#connectObject

connect This is an abstract method, intended to be implemented by a subclass.



7
8
# File 'lib/subscriber.rb', line 7

def connect
end

#properties=(hash) ⇒ Object

properties=(hash) This method establishes the logger for the subclass.



17
18
19
# File 'lib/subscriber.rb', line 17

def properties=(hash)
  @logger = hash[:logger]
end

#receiveObject

receive This is an abstract method, intended to be implemented by a subclass.



12
13
# File 'lib/subscriber.rb', line 12

def receive
end