Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends

XMPPTest Class Reference

Inheritance diagram for XMPPTest:
Inheritance graph
[legend]
Collaboration diagram for XMPPTest:
Collaboration graph
[legend]

List of all members.

Public Types

Construction
enum  CodeStatus { AlphaCode, BetaCode, ReleaseCode, NumCodeStatuses }
 

Release status for the program.

More...
Construction
enum  Priority {
  LowestPriority, LowPriority, NormalPriority, HighPriority,
  HighestPriority, NumPriorities
}
 

Codes for thread priorities.

More...
enum  AutoDeleteFlag { AutoDeleteThread, NoAutoDeleteThread }
 

Codes for thread autodelete flag.

More...

Public Member Functions

virtual int _main (void *arg=NULL)
PTime GetStartTime () const
PTimerListGetTimerList ()
void Main ()
void PXAbortBlock () const
void PXAbortIOBlock (int fd)
int PXBlockOnChildTerminate (int pid, const PTimeInterval &timeout)
int PXBlockOnIO (int handle, int type, const PTimeInterval &timeout)
void PXCheckSignals ()
int PXGetArgc () const
char ** PXGetArgv () const
char ** PXGetEnvp () const
PDirectory PXGetHomeDir ()
virtual void PXOnAsyncSignal (int)
virtual void PXOnSignal (int)
Overrides from class PObject
Comparison Compare (const PObject &obj) const
Overrides from class PThread
virtual void Terminate ()
virtual PString GetThreadName () const
virtual void SetThreadName (const PString &name)
Overrides from PObject
void PrintOn (ostream &strm) const
Miscellaneous functions
virtual PObjectClone () const
virtual PINDEX HashFunction () const

Static Public Member Functions

static void PreInitialise (int argc, char **argv, char **envp)
static void PreShutdown ()
static void PXShowSystemWarning (PINDEX code)
static void PXShowSystemWarning (PINDEX code, const PString &str)
Operating System information functions
static PString GetOSClass ()
static PString GetOSName ()
static PString GetOSHardware ()
static PString GetOSVersion ()
static PDirectory GetOSConfigDir ()

Protected Member Functions

virtual void _PXShowSystemWarning (PINDEX code, const PString &str)
void CommonConstruct ()
void CommonDestruct ()
void CreateConfigFilesDictionary ()
void InitialiseProcessThread ()
virtual bool OnInit ()

Protected Attributes

PAbstractDictionaryconfigFiles
PXFdDict ioBlocks [3]
int pxSignals

Private Member Functions

 PCLASSINFO (XMPPTest, PProcess)

Friends

class PApplication
class PHouseKeepingThread
class PServiceProcess
class PTrace::Block
void PXSigHandler (int)
void PXSignalHandler (int)

Process information functions

void SetTerminationValue (int value)
int GetTerminationValue () const
PArgListGetArguments ()
virtual const PStringGetManufacturer () const
virtual const PStringGetName () const
virtual PString GetVersion (BOOL full=TRUE) const
const PFilePathGetFile () const
DWORD GetProcessID () const
PString GetUserName () const
BOOL SetUserName (const PString &username, BOOL permanent=FALSE)
PString GetGroupName () const
BOOL SetGroupName (const PString &groupname, BOOL permanent=FALSE)
int GetMaxHandles () const
BOOL SetMaxHandles (int newLimit)
void SetConfigurationPath (const PString &path)
static PProcessCurrent ()
static BOOL IsInitialised ()

Control functions

virtual void Restart ()
virtual BOOL IsTerminated () const
void WaitForTermination () const
BOOL WaitForTermination (const PTimeInterval &maxWait) const
virtual void Suspend (BOOL susp=TRUE)
virtual void Resume ()
virtual BOOL IsSuspended () const
virtual void SetPriority (Priority priorityLevel)
virtual Priority GetPriority () const
virtual void SetAutoDelete (AutoDeleteFlag deletion=AutoDeleteThread)
void SetNoAutoDelete ()
static void Sleep (const PTimeInterval &delay)
 Suspend the current thread for the specified amount of time.

Miscellaneous

virtual PThreadIdentifier GetThreadId () const
static PThreadIdentifier GetCurrentThreadId ()
static void Yield ()
static PThreadCreate (const PNotifier &notifier, INT parameter=0, AutoDeleteFlag deletion=AutoDeleteThread, Priority priorityLevel=NormalPriority, const PString &threadName=PString::Empty(), PINDEX stackSize=10000)

Run Time Type functions

virtual const char * GetClass (unsigned=0) const
BOOL IsClass (const char *cls) const
virtual BOOL InternalIsDescendant (const char *clsName) const
static const char * Class ()

Comparison functions

virtual Comparison CompareObjectMemoryDirect (const PObject &obj) const
bool operator== (const PObject &obj) const
bool operator!= (const PObject &obj) const
bool operator< (const PObject &obj) const
bool operator> (const PObject &obj) const
bool operator<= (const PObject &obj) const
bool operator>= (const PObject &obj) const
enum  Comparison { LessThan = -1, EqualTo = 0, GreaterThan = 1 }

I/O functions

virtual void ReadFrom (istream &strm)
ostream & operator<< (ostream &strm, const PObject &obj)
istream & operator>> (istream &strm, PObject &obj)

Detailed Description

Definition at line 71 of file main.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index