NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BaseClientData Struct Reference

Data that is stored by a service for every client. More...

#include <generic_service.h>

Inheritance diagram for BaseClientData:
GenericClientData PerCpuIdClientData ab::AdmissionService::ClientData EchoService::ClientData EventService::ClientData PerCpuTimerService::ClientData s0_ParentProtocol::ClientData Tracebuffer::ClientData DiskClient s0_ParentProtocol::ServerData

Public Member Functions

void session_close (Utcb &utcb)
 Close the session at the parent.

Static Public Member Functions

static unsigned get_quota (Utcb &utcb, unsigned _pseudonym, const char *name, long value_in, long *value_out=0)
 We implement a get_quota here, so that derived classes can overwrite it.

Public Attributes

void * next
void * del
unsigned pseudonym
 A capability identifying the client. This is also known to the parent.

Detailed Description

Data that is stored by a service for every client.

Member Function Documentation

static unsigned BaseClientData::get_quota ( Utcb utcb,
unsigned  _pseudonym,
const char *  name,
long  value_in,
long *  value_out = 0 
)
inlinestatic

We implement a get_quota here, so that derived classes can overwrite it.

Useful for example in sigma0 that has a different way to get the quota of a client.

Reimplemented in s0_ParentProtocol::ClientData.

void BaseClientData::session_close ( Utcb utcb)
inline

Close the session at the parent.

Implemented here so that derived classes can overwrite it.

Reimplemented in s0_ParentProtocol::ClientData.

Member Data Documentation

void* BaseClientData::del
void* BaseClientData::next
unsigned BaseClientData::pseudonym

A capability identifying the client. This is also known to the parent.


The documentation for this struct was generated from the following file: