man KeyThreads () - Load /etc/bayonne [thread] key value pairs. Load keythreads priority and session count configuration.

NAME

KeyThreads - Load /etc/bayonne [thread] key value pairs. Load keythreads priority and session count configuration.

SYNOPSIS



#include <bayonne.h>

Public Member Functions

KeyThreads ()

Initialize keythread data. int priService (void)

Get relative priority to run service threads at. int priScheduler (void)

Get the relative priority to run scheduler at. int priGUI (void)

Get the relative priority to run gui at. int priRTP (void)

Get the relative priority to run rtp at. int getStepDelay (void)

Get number of milliseconds to delay each script step. int getStepInterval (void)

Get the minimal step interval. int getResetDelay (void)

Get the reset delay required for settling the DSP. size_t getStack (void)

Get default stack size for threads. int getServices (void)

Get count of service pool threads to use. int priResolver (void)

Get the execution priority of the resolver thread. int getResolver (void)

Get the execution interval of the resolver thread, or 0 if no resolver scheduler. int priAudio (void)

Get relative priority to run audio streams at. bool getAudit (void)

Get the auditing flag. int priGateway (void)

Get relative priority to run gateway (TGI) sessions at. int priManager (void)

Get the relative priority to run network management sessions. int priNetwork (void)

Get the relative priority for network service thread. int priSwitch (void)

Get the relative priority for switch integration module. int getInterval (void)

Scheduler execution interval. int getRefresh (void)

Scheduler network node rebroadcast frequency. int getGateways (void)

Get number of tgi gateway proccesses to make available. int getPriority (void)

Get default Bayonne system priority (niceness) to start under before we adjust any relative priorities. int getPolicy (void)

Get scheduling policy to use. int getPages (void)

Get memory locking and local pages.

Detailed Description

Load /etc/bayonne [thread] key value pairs. Load keythreads priority and session count configuration.

Has internal defaults if section or file is missing.

Author: David Sugar <dyfet@ostel.com>

Constructor & Destructor Documentation

KeyThreads::KeyThreads ()

Initialize keythread data.

Member Function Documentation

bool KeyThreads::getAudit (void) [inline]

Get the auditing flag.

Returns: thread auditing flag.

int KeyThreads::getGateways (void)

Get number of tgi gateway proccesses to make available.

Returns: number of tgi gateway processes.

int KeyThreads::getInterval (void) [inline]

Scheduler execution interval.

Returns: scheduler interval in minutes.

int KeyThreads::getPages (void) [inline]

Get memory locking and local pages.

Returns: number of k of stack to pre-allocate.

int KeyThreads::getPolicy (void)

Get scheduling policy to use.

Returns: policy id, or '0' for default.

int KeyThreads::getPriority (void) [inline]

Get default Bayonne system priority (niceness) to start under before we adjust any relative priorities.

Returns: primary 'nice' process priority.

int KeyThreads::getRefresh (void) [inline]

Scheduler network node rebroadcast frequency.

Returns: node broadcast update interval in seconds.

int KeyThreads::getResetDelay (void) [inline]

Get the reset delay required for settling the DSP.

Returns: millisecond delay from dsp reset.

int KeyThreads::getResolver (void)

Get the execution interval of the resolver thread, or 0 if no resolver scheduler.

Returns: number of minutes for interval.

int KeyThreads::getServices (void)

Get count of service pool threads to use.

Returns: thread count for service pool.

size_t KeyThreads::getStack (void)

Get default stack size for threads.

Returns: stack size in 'k' increments.

int KeyThreads::getStepDelay (void) [inline]

Get number of milliseconds to delay each script step.

Returns: millisecond delay interval.

int KeyThreads::getStepInterval (void) [inline]

Get the minimal step interval.

Returns: millisecond minimal interval.

int KeyThreads::priAudio (void) [inline]

Get relative priority to run audio streams at.

Returns: audio thread priority (relative).

int KeyThreads::priGateway (void) [inline]

Get relative priority to run gateway (TGI) sessions at.

Returns: tgi gateway process priority (niceness).

int KeyThreads::priGUI (void) [inline]

Get the relative priority to run gui at.

Returns: gui priority (relative).

int KeyThreads::priManager (void) [inline]

Get the relative priority to run network management sessions.

Returns: priority for management threads.

int KeyThreads::priNetwork (void) [inline]

Get the relative priority for network service thread.

Returns: priority for lookup thread.

int KeyThreads::priResolver (void)

Get the execution priority of the resolver thread.

Returns: priority of resolver.

int KeyThreads::priRTP (void) [inline]

Get the relative priority to run rtp at.

Returns: rtp priority (relative).

int KeyThreads::priScheduler (void) [inline]

Get the relative priority to run scheduler at.

Returns: scheduler priority (relative).

int KeyThreads::priService (void) [inline]

Get relative priority to run service threads at.

Returns: service thread priority (relative).

int KeyThreads::priSwitch (void) [inline]

Get the relative priority for switch integration module.

Returns: priority for switch integration.

Author

Generated automatically by Doxygen for Bayonne from the source code.