Is the remote station or the communicator which communicates with the Manager. In multi-user operation there can be several remote stations or communicators.
More...
#include <GloManager.h>
Is the remote station or the communicator which communicates with the Manager. In multi-user operation there can be several remote stations or communicators.
- Copyright
- © 2010 Helmut Jakoby
- Author
- Helmut Jakoby
◆ Receiver() [1/3]
glo::Manager::Receiver::Receiver |
( |
| ) |
|
|
private |
The standard constructor is not available.
◆ Receiver() [2/3]
glo::Manager::Receiver::Receiver |
( |
const Receiver & | | ) |
|
|
private |
The copy constructor is not available.
◆ Receiver() [3/3]
Constructor with parameter passing.
- Parameters
-
[in] | sSchemaName | The name of the schema respectively database to which the communicator is logged on. |
[in] | pCommunicatorThread | The communicator thread. |
[in] | pCommunicator | The communicator. |
- Attention
- The passed communicator thread becomes the responsibility of this object; therefore it must not be removed from memory by the calling instance.
◆ ~Receiver()
glo::Manager::Receiver::~Receiver |
( |
| ) |
|
Destructor, the communicator thread is removed from memory.
◆ decrementRefCounter()
unsigned int glo::Manager::Receiver::decrementRefCounter |
( |
| ) |
|
Returns the decremented reference counter.
- Returns
- The value of the reference counter (m_uiRefCounter).
◆ getCommunicator()
Communicator * glo::Manager::Receiver::getCommunicator |
( |
| ) |
const |
Returns the communicator logged into the database.
- Returns
- The logged into communicator.
◆ getCommunicatorThread()
Returns the communicator thread.
- Returns
- The communicator thread.
- Attention
- The calling instance must not remove the supplied object from memory.
◆ getSchemaName()
std::string glo::Manager::Receiver::getSchemaName |
( |
| ) |
const |
Returns the name of the schema respectively database to which the communicator is logged on.
- Returns
- The name of the schema respectively database.
◆ incrementRefCounter()
unsigned int glo::Manager::Receiver::incrementRefCounter |
( |
| ) |
|
Returns the incremented reference counter.
- Returns
- The value of the reference counter (m_uiRefCounter).
◆ operator=()
The assignment operator is not available.
◆ m_pCommunicator
◆ m_pCommunicatorThread
◆ m_sSchemaName
std::string glo::Manager::Receiver::m_sSchemaName |
|
private |
The name of the schema respectively database for which the communicator is registered.
◆ m_uiRefCounter
unsigned int glo::Manager::Receiver::m_uiRefCounter |
|
private |
A reference counter to prevent multiple instantiation. Users of GlobalObjects can open the database multiple times (in threads for example). But only the reference counter is incremented. Only when the database is closed for the last time, the reference counter == 0 removes the communicator.
The documentation for this class was generated from the following file: