FreeNOS
|
Encapsulates a pending FileSystemMessage. More...
#include <FileSystemRequest.h>
Public Member Functions | |
FileSystemRequest (FileSystemMessage *msg) | |
Constructor. More... | |
FileSystemMessage * | getMessage () |
Get message. More... | |
IOBuffer & | getBuffer () |
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... | |
Encapsulates a pending FileSystemMessage.
Definition at line 35 of file FileSystemRequest.h.
FileSystemRequest::FileSystemRequest | ( | FileSystemMessage * | msg | ) |
Constructor.
Definition at line 21 of file FileSystemRequest.cpp.
References MemoryBlock::copy(), m_ioBuffer, m_msg, and IOBuffer::setMessage().
IOBuffer & FileSystemRequest::getBuffer | ( | ) |
Get IOBuffer.
Definition at line 32 of file FileSystemRequest.cpp.
References m_ioBuffer.
Referenced by FileSystemServer::inodeHandler(), and FileSystemServer::waitFileHandler().
FileSystemMessage * FileSystemRequest::getMessage | ( | ) |
Get message.
Definition at line 27 of file FileSystemRequest.cpp.
References m_msg.
Referenced by FileSystemServer::inodeHandler(), FileSystemServer::processRequest(), and FileSystemServer::waitFileHandler().
|
private |
Wrapper for doing I/O on the FileSystemMessage buffer.
Definition at line 64 of file FileSystemRequest.h.
Referenced by FileSystemRequest(), and getBuffer().
|
private |
Message that was received.
Definition at line 61 of file FileSystemRequest.h.
Referenced by FileSystemRequest(), and getMessage().