Public Member Functions | |
auto_ptr< Client > | createFakeClient () const |
Creates new fake client object. | |
auto_ptr< Client > | createNewClient (auto_ptr< Socket > socket) const |
Creates new client object and sets initial values to all parameters. | |
Public Attributes | |
TextParam | defaultPitch |
The default pitch value for new connections. | |
TextParam | defaultRate |
The default rate value for new connections. | |
TextParam | defaultVolume |
The default volume value for new connections. |
auto_ptr<Client> ClientFactory::createFakeClient | ( | ) | const [inline] |
This method creates new fake client object. "Fake" means this object is not associated with the real connection and only stores client specific data.
This method creates new "real" client and initiates all its internal variables. "Real" client means it is the client associated with the socket. The also can be "fake" client used to store client specific data but not associated with the socket.
[in] | socket | The socket object new client must be associated with |