Class: BmcDaemonLib::MqEndpoint

Inherits:
Object
  • Object
show all
Includes:
LoggerHelper
Defined in:
lib/bmc-daemon-lib/mq_endpoint.rb

Direct Known Subclasses

MqConsumer

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel, *args) ⇒ MqEndpoint

Returns a new instance of MqEndpoint.



7
8
9
10
11
# File 'lib/bmc-daemon-lib/mq_endpoint.rb', line 7

def initialize channel, *args
  # Init
  @channel = channel
  log_info "MqEndpoint on channel [#{@channel.id}]"
end

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



5
6
7
# File 'lib/bmc-daemon-lib/mq_endpoint.rb', line 5

def logger
  @logger
end