UDP * m_udp
UDP protocol instance.
Size length() const
Same as count().
const FileSystemMessage * getMessage() const
Get filesystem message.
User Datagram Protocol (UDP)
UDPSocket * createSocket(String &path, const ProcessID pid)
Creates an UDP socket.
virtual ~UDPFactory()
Destructor.
Represents a file present on a FileSystem.
#define DEBUG(msg)
Output a debug message to standard output.
Abstract Input/Output buffer.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
#define ERROR(msg)
Output an error message.
virtual FileSystem::Result read(IOBuffer &buffer, Size &size, const Size offset)
Create UDP socket.
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.
User Datagram Protocol (UDP) socket.
UDPFactory(const u32 inode, UDP *udp)
Constructor.