Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

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 MemPager List of all members.

Public Member Functions

 KeyThreads ()
 Initialize keythread data.
int priService (void)
 Get relative priority to run service threads 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.
size_t getAudioStack (void)
 Get default stack size for audio threads.
size_t getDriverStack (void)
 Get default stack size for driver threads.
int getServices (void)
 Get count of service pool threads to use.
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 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

size_t KeyThreads::getAudioStack void   ) 
 

Get default stack size for audio threads.

Returns:
stack size in "k" increments.

bool KeyThreads::getAudit void   )  [inline]
 

Get the auditing flag.

Returns:
thread auditing flag.

size_t KeyThreads::getDriverStack void   ) 
 

Get default stack size for driver threads.

Returns:
stack size in "k" increments.

int KeyThreads::getGateways void   ) 
 

Get number of tgi gateway proccesses to make available.

Returns:
number of tgi gateway processes.

int KeyThreads::getPages void   )  [inline]
 

Get memory locking and local pages.

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

Reimplemented from MemPager.

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

Get the relative priority to run rtp at.

Returns:
rtp 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.


The documentation for this class was generated from the following file:
Generated on Tue Sep 13 02:19:09 2005 for Bayonne by  doxygen 1.4.4