Sha256: 3f03398eee6a64af2277c55a38faac0a80d4a76e285531b0726136864471ba80

Contents?: true

Size: 1.63 KB

Versions: 26

Compression:

Stored size: 1.63 KB

Contents

# frozen_string_literal: true

# :reek:IrresponsibleModule

module RubyRabbitmqJanus
  module Errors
    module Process
      class BaseKeepaliveInitializer < BaseKeepalive
        def initialize(message)
          super "[Initializer] #{message}"
        end
      end

      module KeepaliveInitializer
        class Initializer < RubyRabbitmqJanus::Errors::Process::BaseKeepaliveInitializer
          def initialize
            super 'Error keepalive initializer'
          end
        end

        class ID2ref < RubyRabbitmqJanus::Errors::Process::BaseKeepaliveInitializer
          def initialize(thread_id)
            super "No thread with ID : #{thread_id}"
          end
        end

        class Session < RubyRabbitmqJanus::Errors::Process::BaseKeepaliveInitializer
          def initialize
            super 'Error return session number'
          end
        end

        class Thread < RubyRabbitmqJanus::Errors::Process::BaseKeepaliveInitializer
          def initialize
            super 'Error for get Object Thread ID'
          end
        end

        class ThreadStart < RubyRabbitmqJanus::Errors::Process::BaseKeepaliveInitializer
          def initialize
            super 'Error for starting timer in thread'
          end
        end

        class ThreadStop < RubyRabbitmqJanus::Errors::Process::BaseKeepaliveInitializer
          def initialize
            super 'Error for stoping timer in thread'
          end
        end

        class ThreadDelete < RubyRabbitmqJanus::Errors::Process::BaseKeepaliveInitializer
          def initialize
            super 'Error for destroy thread'
          end
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-2.7.2.pre.302 lib/rrj/errors/process/keepalive/initializer.rb
ruby_rabbitmq_janus-2.7.2.pre.297 lib/rrj/errors/process/keepalive/initializer.rb
ruby_rabbitmq_janus-2.7.2.pre.296 lib/rrj/errors/process/keepalive/initializer.rb
ruby_rabbitmq_janus-2.7.2.pre.286 lib/rrj/errors/process/keepalive/initializer.rb
ruby_rabbitmq_janus-2.7.2.pre.285 lib/rrj/errors/process/keepalive/initializer.rb
ruby_rabbitmq_janus-2.7.2.pre.284 lib/rrj/errors/process/keepalive/initializer.rb