Main Page | Class Hierarchy | Class List | File List | Class Members

LaunchNewId Class Reference

#include <xmppbase.h>

List of all members.

Public Member Functions

 LaunchNewId (const PString &ourId, const PString &ourPassword)
virtual ~LaunchNewId ()
PString CreateNewId ()
PString GetOurPassword ()
PString GetServer ()

Protected Attributes

PString ourBaseId
PString ourNodeId
PString ourPassword
PString remoteServer
PINDEX buildCount
PMutex countMutex


Detailed Description

Create unique new id's, as required


Constructor & Destructor Documentation

LaunchNewId::LaunchNewId const PString &  ourId,
const PString &  ourPassword
 

Instantiate this

LaunchNewId::~LaunchNewId  )  [virtual]
 

End this thread, and wait for it to finish, and then exit


Member Function Documentation

PString LaunchNewId::CreateNewId  ) 
 

Create a new ID given the available our node id, a number and the password.

The new Id is our Node Id + string(callCount)

PString LaunchNewId::GetOurPassword  )  [inline]
 

Retrieve the current password

PString LaunchNewId::GetServer  )  [inline]
 

Get the name of the messaging server


Member Data Documentation

PINDEX LaunchNewId::buildCount [protected]
 

The counter of all generated Ids

PMutex LaunchNewId::countMutex [protected]
 

The mutex which protects access to the buildCount variable

PString LaunchNewId::ourBaseId [protected]
 

The id to use as a base for all further ID's - eg beta/ssvoip

PString LaunchNewId::ourNodeId [protected]
 

The Id of this particular node, to register with the server as. a valid ourNodeId would be ssvoip.

PString LaunchNewId::ourPassword [protected]
 

The password to use for all logins to the remote message server

PString LaunchNewId::remoteServer [protected]
 

The string name of the remote server - eg beta


The documentation for this class was generated from the following files:
Generated on Sun Jan 29 19:49:45 2006 for SSSound : Sofa Switch Sound by  doxygen 1.4.4