class BPS::Publisher::Abstract

Public Class Methods

new() click to toggle source
# File lib/bps/publisher/abstract.rb, line 14
def initialize
  ObjectSpace.define_finalizer(self, proc { close })
end

Public Instance Methods

close() click to toggle source

Close the publisher.

# File lib/bps/publisher/abstract.rb, line 25
def close; end
topic(_name) click to toggle source

Retrieve a topic handle. @params [String] name the topic name.

# File lib/bps/publisher/abstract.rb, line 20
def topic(_name)
  raise 'not implemented'
end