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.



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

def connect
end

#properties=(hash) ⇒ Object

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



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

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

#receiveObject

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



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

def receive
end