Go to the documentation of this file.
18 #ifndef __SERVER_DATASTORE_DATASTORESERVER_H
19 #define __SERVER_DATASTORE_DATASTORESERVER_H
21 #include <FreeNOS/ProcessManager.h>
Efficient key -> value lookups.
HashTable< String, Address > * getBufferTable(const ProcessID pid)
Retrieve current buffer table for given ProcessID.
void registerBuffer(DatastoreMessage *msg)
Add a new buffer.
u32 ProcessID
Process Identification Number.
static const Size MaximumBufferSize
Maximum size of a single buffer.
#define KiloByte(v)
Convert kilobytes to bytes.
DatastoreServer()
Class constructor function.
HashTable< ProcessID, HashTable< String, Address > * > m_buffers
Per-process hash table with key to buffers mapping.
unsigned int Size
Any sane size indicator cannot go negative.
Template class which serves incoming messages from Channels using MessageHandlers.