Size length() const
Same as count().
const FileSystemMessage * getMessage() const
Get filesystem message.
ICMPSocket * createSocket(String &path, const ProcessID pid)
Creates an ICMP socket.
Represents a file present on a FileSystem.
virtual FileSystem::Result read(IOBuffer &buffer, Size &size, const Size offset)
Create ICMP socket.
#define DEBUG(msg)
Output a debug message to standard output.
virtual ~ICMPFactory()
Destructor.
Abstract Input/Output buffer.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
ICMPFactory(const u32 inode, ICMP *icmp)
Constructor.
#define ERROR(msg)
Output an error message.
ICMP * m_icmp
ICMP protocol instance.
Result
Result code for filesystem Actions.
ProcessID from
Source process of the message.
FileSystem::Result write(const void *buffer, const Size size, const Size offset=ZERO)
Write bytes to the I/O buffer.
Internet Control Message Protocol (ICMP) socket.
Internet Control Message Protocol (ICMP)