Go to the documentation of this file.
45 DEBUG(
"pid = " << pid);
66 ERROR(
"failed to start DMA: result = " << (
int) result);
virtual FileSystem::Result startDMA()
Start DMA processing.
virtual void onProcessTerminated(const ProcessID pid)
Called whenever another Process is terminated.
NetworkDevice * m_device
Network device instance.
virtual bool retryRequests()
Retry any pending requests.
Network Device abstract class.
u32 ProcessID
Process Identification Number.
void registerNetworkDevice(NetworkDevice *dev)
Register network device.
void registerDevice(Device *dev, const char *path)
Add a Device.
#define DEBUG(msg)
Output a debug message to standard output.
virtual FileSystem::Result initialize()
Initialize DeviceServer.
NetworkServer(const char *path)
Constructor.
#define assert(exp)
Insert program diagnostics.
#define ERROR(msg)
Output an error message.
Result
Result code for filesystem Actions.
virtual FileSystem::Result initialize()
Initialize the NetworkServer.
void unregisterSockets(const ProcessID pid)
Remove sockets for a process.
virtual bool retryRequests()
Starts DMA on NetworkDevices after all pending requests are done.
virtual ~NetworkServer()
Destructor.