Class: Baykit::BayServer::Docker::Ajp::Command::CmdShutdown

Inherits:
AjpCommand
  • Object
show all
Defined in:
lib/baykit/bayserver/docker/ajp/command/cmd_shutdown.rb

Instance Attribute Summary

Attributes inherited from AjpCommand

#to_server

Instance Method Summary collapse

Methods inherited from AjpCommand

#pack_header

Constructor Details

#initializeCmdShutdown

Returns a new instance of CmdShutdown.



16
17
18
# File 'lib/baykit/bayserver/docker/ajp/command/cmd_shutdown.rb', line 16

def initialize
  super(AjpType::SHUTDOWN, true)
end

Instance Method Details

#handle(handler) ⇒ Object



28
29
30
# File 'lib/baykit/bayserver/docker/ajp/command/cmd_shutdown.rb', line 28

def handle(handler)
  return handler.handle_shutdown(self)
end

#pack(pkt) ⇒ Object



24
25
26
# File 'lib/baykit/bayserver/docker/ajp/command/cmd_shutdown.rb', line 24

def pack(pkt)
  super
end

#unpack(pkt) ⇒ Object



20
21
22
# File 'lib/baykit/bayserver/docker/ajp/command/cmd_shutdown.rb', line 20

def unpack(pkt)
  super
end