Class: StickyElephant::Handler::Base

Inherits:
Object
  • Object
show all
Includes:
LogInterface
Defined in:
lib/sticky_elephant/handler/base.rb

Direct Known Subclasses

Error, Handshake, Query, Quit, SSLRequest

Instance Method Summary collapse

Constructor Details

#initialize(payload, socket:, logger:) ⇒ Base

Returns a new instance of Base.



6
7
8
9
10
# File 'lib/sticky_elephant/handler/base.rb', line 6

def initialize(payload, socket: , logger: )
  @payload = payload
  @socket = socket
  @logger = logger
end