Aqid

A class that provides a type for the aqid field in some Styx messages. Inherits methods from the Qid class and the StyxObject class.

Constructors

this
this(STYX_QID_TYPE type, uint vers, ulong path)

A constructor that creates a unique qid number based on the parameters passed to it. If it is called without parameters, then the type will be STYX_QID_TYPE.QTFILE and zero values for the remaining parameters.

Members

Functions

toString
string toString()

Convenient string representation of an object for printing

Inherited Members

From Qid

_type
STYX_QID_TYPE _type;
Undocumented in source.
_vers
uint _vers;
Undocumented in source.
_path
ulong _path;
Undocumented in source.
_representation
ubyte[] _representation;
Undocumented in source.
getType
STYX_QID_TYPE getType()

Get Qid type from Qid object

getVers
uint getVers()

Get version from Qid object

getPath
ulong getPath()

Get path from Qid object

setType
void setType(STYX_QID_TYPE type)

Set type from STYX_QID_TYPE value

setVers
void setVers(uint vers)

Set version from unsigned value

setPath
void setPath(ulong path)

Set path from unsigned value

pack
ubyte[] pack()

Pack to bytes array

unpack
void unpack(ubyte[] bytes)

Unpack from bytes array

toString
string toString()

Convenient string representation of an object for printing

See Also

https://web.archive.org/web/20201029184954/https://powerman.name/Inferno/man/5/0intro.html

Meta