Class: FCGI::UnknownTypeRecord
Constant Summary collapse
- BODY_FORMAT =
uint8_t type; uint8_t reserved;
'CC7'
Constants inherited from Record
Record::HEADER_FORMAT, Record::HEADER_LENGTH, Record::RECORD_CLASS
Instance Attribute Summary collapse
-
#unknown_type ⇒ Object
readonly
Returns the value of attribute unknown_type.
Attributes inherited from Record
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id, t) ⇒ UnknownTypeRecord
constructor
A new instance of UnknownTypeRecord.
Methods inherited from Record
class_for, #management_record?, parse_header, #serialize, #version
Constructor Details
#initialize(id, t) ⇒ UnknownTypeRecord
Returns a new instance of UnknownTypeRecord.
420 421 422 423 |
# File 'lib/cgialt/fcgi/core.rb', line 420 def initialize(id, t) super FCGI_UNKNOWN_TYPE, id @unknown_type = t end |
Instance Attribute Details
#unknown_type ⇒ Object (readonly)
Returns the value of attribute unknown_type.
425 426 427 |
# File 'lib/cgialt/fcgi/core.rb', line 425 def unknown_type @unknown_type end |
Class Method Details
.parse(id, body) ⇒ Object
415 416 417 418 |
# File 'lib/cgialt/fcgi/core.rb', line 415 def self::parse(id, body) type, *reserved = *body.unpack(BODY_FORMAT) new(id, type) end |