FreeNOS
Public Member Functions | Private Attributes
FileSystemRequest Class Reference

Encapsulates a pending FileSystemMessage. More...

#include <FileSystemRequest.h>

Public Member Functions

 FileSystemRequest (FileSystemMessage *msg)
 Constructor. More...
 
FileSystemMessagegetMessage ()
 Get message. More...
 
IOBuffergetBuffer ()
 Get IOBuffer. More...
 

Private Attributes

FileSystemMessage m_msg
 Message that was received. More...
 
IOBuffer m_ioBuffer
 Wrapper for doing I/O on the FileSystemMessage buffer. More...
 

Detailed Description

Encapsulates a pending FileSystemMessage.

Definition at line 35 of file FileSystemRequest.h.

Constructor & Destructor Documentation

◆ FileSystemRequest()

FileSystemRequest::FileSystemRequest ( FileSystemMessage msg)

Constructor.

Definition at line 21 of file FileSystemRequest.cpp.

References MemoryBlock::copy(), m_ioBuffer, m_msg, and IOBuffer::setMessage().

Member Function Documentation

◆ getBuffer()

IOBuffer & FileSystemRequest::getBuffer ( )

Get IOBuffer.

Returns
IOBuffer reference

Definition at line 32 of file FileSystemRequest.cpp.

References m_ioBuffer.

Referenced by FileSystemServer::inodeHandler(), and FileSystemServer::waitFileHandler().

◆ getMessage()

FileSystemMessage * FileSystemRequest::getMessage ( )

Field Documentation

◆ m_ioBuffer

IOBuffer FileSystemRequest::m_ioBuffer
private

Wrapper for doing I/O on the FileSystemMessage buffer.

Definition at line 64 of file FileSystemRequest.h.

Referenced by FileSystemRequest(), and getBuffer().

◆ m_msg

FileSystemMessage FileSystemRequest::m_msg
private

Message that was received.

Definition at line 61 of file FileSystemRequest.h.

Referenced by FileSystemRequest(), and getMessage().


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