FreeNOS
Public Types | Data Fields
ChannelMessage Class Reference

Basic message format for sending on a Channel. More...

#include <ChannelMessage.h>

Inheritance diagram for ChannelMessage:
CoreMessage DatastoreMessage FileSystemMessage RecoveryMessage

Public Types

enum  Type { Request = 0, Response = 1 }
 Message types. More...
 

Data Fields

Type type:1
 Message type is either a request or response. More...
 
Size identifier:31
 Optional request identifier. More...
 
ProcessID from
 Source process of the message. More...
 

Detailed Description

Basic message format for sending on a Channel.

Definition at line 34 of file ChannelMessage.h.

Member Enumeration Documentation

◆ Type

Message types.

Enumerator
Request 
Response 

Definition at line 41 of file ChannelMessage.h.

Field Documentation

◆ from

ProcessID ChannelMessage::from

◆ identifier

Size ChannelMessage::identifier

Optional request identifier.

Definition at line 51 of file ChannelMessage.h.

Referenced by ChannelClient::processResponse(), and ChannelClient::sendRequest().

◆ type

Type ChannelMessage::type

The documentation for this class was generated from the following file: