Class: Baykit::BayServer::Docker::Ajp::Command::CmdShutdown
- Inherits:
-
AjpCommand
- Object
- Protocol::Command
- AjpCommand
- Baykit::BayServer::Docker::Ajp::Command::CmdShutdown
- Defined in:
- lib/baykit/bayserver/docker/ajp/command/cmd_shutdown.rb
Instance Attribute Summary
Attributes inherited from AjpCommand
Instance Method Summary collapse
- #handle(handler) ⇒ Object
-
#initialize ⇒ CmdShutdown
constructor
A new instance of CmdShutdown.
- #pack(pkt) ⇒ Object
- #unpack(pkt) ⇒ Object
Methods inherited from AjpCommand
Constructor Details
#initialize ⇒ CmdShutdown
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 |