Class: MicroQ::Middleware::Chain::Server

Inherits:
Base
  • Object
show all
Defined in:
lib/micro_q/middleware/chain.rb

Instance Method Summary collapse

Methods inherited from Base

#add, #add_after, #add_before, #call, #clear, #entries, #remove

Constructor Details

#initializeServer

Returns a new instance of Server.



99
100
101
102
103
104
105
106
# File 'lib/micro_q/middleware/chain.rb', line 99

def initialize
  @last    = MicroQ::Middleware::Server::Statistics
  @entries = [
    MicroQ::Middleware::Server::Timeout,
    MicroQ::Middleware::Server::Retry,
    MicroQ::Middleware::Server::Connection
  ]
end