Module Rumai::IXP::Struct
In: lib/rumai/ixp/message.rb

A serializable 9P2000 data structure.

Methods

[]   []=   included   load_9p   new   to_9p  

Classes and Modules

Class Rumai::IXP::Struct::Field

Attributes

fields  [R] 

Public Class methods

Provides a convenient DSL (for defining fields) to all objects which include this module.

Allows field values to be initialized via the constructor.

aFieldValues:a mapping from field name to field value

Public Instance methods

Returns the value of the given field inside this structure.

Sets the value of the given field inside this structure.

Populates this object with information from the given 9P2000 byte stream.

Transforms this object into a string of 9P2000 bytes.

[Validate]