- createHeader
auto createHeader(uint size, STYX_MESSAGE_TYPE type, ushort tag)
Create base header for 9P / Styx messages
- createRmsgClunk
auto createRmsgClunk(ushort tag)
Create clunk message from server
- createRmsgError
auto createRmsgError(ushort tag, string ename)
Create error message from server (for client this type of message does not exists)
- createRmsgFlush
auto createRmsgFlush(ushort tag)
Create flush message from server
- createRmsgVersion
auto createRmsgVersion(ushort tag, uint maximalSize, string vers)
Create version message from server
- createTmsgClunk
auto createTmsgClunk(ushort tag, uint fid)
Create clunk message from client
- createTmsgFlush
auto createTmsgFlush(ushort tag, ushort oldTag)
Create flush message from client
- createTmsgVersion
auto createTmsgVersion(ushort tag, uint maximalSize, string vers)
Create version message from client
- isErrorMessage
bool isErrorMessage(StyxMessage msg)
StyxMessage is error message ?
- isRmessage
bool isRmessage(StyxMessage msg)
StyxMessage is server message ?
- isTmessage
bool isTmessage(StyxMessage msg)
StyxMessage is client message ?
This module contains a set of various useful functions for more convenient work with 9P /Styx messages.