Class: Baykit::BayServer::Docker::Fcgi::Command::CmdStdIn

Inherits:
InOutCommandBase show all
Defined in:
lib/baykit/bayserver/docker/fcgi/command/cmd_stdin.rb

Constant Summary

Constants inherited from InOutCommandBase

InOutCommandBase::MAX_DATA_LEN

Instance Attribute Summary

Attributes inherited from InOutCommandBase

#data, #length, #start

Attributes inherited from FcgCommand

#req_id

Instance Method Summary collapse

Methods inherited from InOutCommandBase

#pack, #unpack

Methods inherited from FcgCommand

#pack, #pack_header, #unpack

Constructor Details

#initialize(req_id, data = nil, start = 0, len = 0) ⇒ CmdStdIn

Returns a new instance of CmdStdIn.



19
20
21
# File 'lib/baykit/bayserver/docker/fcgi/command/cmd_stdin.rb', line 19

def initialize(req_id, data=nil, start=0, len=0)
  super(FcgType::STDIN, req_id, data, start, len)
end

Instance Method Details

#handle(cmd_handler) ⇒ Object



23
24
25
# File 'lib/baykit/bayserver/docker/fcgi/command/cmd_stdin.rb', line 23

def handle(cmd_handler)
  return cmd_handler.handle_stdin(self)
end