Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

KeyThreads Class Reference

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

#include <bayonne.h>

Inheritance diagram for KeyThreads::

Keydata List of all members.

Public Methods

 KeyThreads ()
 Initialize keythread data. More...

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

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

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

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

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

int getStepInterval (void)
 Get the minimal step interval. More...

int getResetDelay (void)
 Get the reset delay required for settling the DSP. More...

size_t getStack (void)
 Get default stack size for threads. More...

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

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

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

int priAudio (void)
 Get relative priority to run audio streams at. More...

int priFeed (void)
 Get relative priority to run audio feeds at. More...

bool getAudit (void)
 Get the auditing flag. More...

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

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

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

int priXML (void)
 Get the relative priority of the XML parser thread. More...

int getInterval (void)
 Scheduler execution interval. More...

int getRefresh (void)
 Scheduler network node rebroadcast frequency. More...

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

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

int getPolicy (void)
 Get scheduling policy to use. More...

int getPages (void)
 Get memory locking and local pages. More...


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::priFeed void   [inline]
 

Get relative priority to run audio feeds at.

Returns:
audio feed priority (relative).

int KeyThreads::priGUI void   [inline]
 

Get the relative priority to run gui at.

Returns:
gui priority (relative).

int KeyThreads::priGateway void   [inline]
 

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

Returns:
tgi gateway process priority (niceness).

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::priRTP void   [inline]
 

Get the relative priority to run rtp at.

Returns:
rtp priority (relative).

int KeyThreads::priResolver void  
 

Get the execution priority of the resolver thread.

Returns:
priority of resolver.

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::priXML void   [inline]
 

Get the relative priority of the XML parser thread.

Returns:
priority for XML service.


The documentation for this class was generated from the following file:
Generated at Sat Nov 3 09:50:21 2001 for Bayonne by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001