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