Class for Stomp 1.1.9 callback based logging
# File plugins/mcollective/connector/stomp.rb, line 86 def on_connected(params=nil) Log.info("Conncted to #{stomp_url(params)}") rescue end
# File plugins/mcollective/connector/stomp.rb, line 96 def on_connectfail(params=nil) Log.info("Connection to #{stomp_url(params)} failed on attempt #{params[:cur_conattempts]}") rescue end
# File plugins/mcollective/connector/stomp.rb, line 81 def on_connecting(params=nil) Log.info("Connection attempt %d to %s" % [params[:cur_conattempts], stomp_url(params)]) rescue end
# File plugins/mcollective/connector/stomp.rb, line 91 def on_disconnect(params=nil) Log.info("Disconnected from #{stomp_url(params)}") rescue end
# File plugins/mcollective/connector/stomp.rb, line 101 def on_miscerr(params, errstr) Log.error("Unexpected error on connection #{stomp_url(params)}: #{errstr}") rescue end
# File plugins/mcollective/connector/stomp.rb, line 111 def on_ssl_connected(params) Log.info("Connected SSL socket #{stomp_url(params)}") rescue end
Generated with the Darkfish Rdoc Generator 2.