Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6IEntropyService Interface Reference

#include <p6random.h>

Detailed Description

The interface published by the global entropy service.

It can be retrieved using the p6IRunningIface::findInterfaceByString() method and should always be used instead of a separate p6IRandom interface unless you have specific a specific need (eg. providing your own entropy source for seeding p6IRandom).

This service can be disabled in the server.conf. By default the service is enabled. Following is and example:

* [P6R Entropy Service]
* enabled = false
*

Possible values for enable are true|false.

The quality of the entropy source can also be specified in the config. For example:

* [P6R Entropy Service]
* quality = high
*

The default is high. Possible values for quality are hight|low. This is a hint for platforms that provide different quality entropy sources. It will be ignored on platforms that do not support this.


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