GlobalObjects
Loading...
Searching...
No Matches
GloServerThread.h
Go to the documentation of this file.
1#ifndef INC_GLOSERVERTHREAD_H
2#define INC_GLOSERVERTHREAD_H
3//-----------------------------------------------------------------------------
43//-----------------------------------------------------------------------------
44#include <string>
45#include "GloTypes.h"
46#include "GloCommunicator.h"
47#include "GloManager.h"
48#include "GloServer.h"
49//-----------------------------------------------------------------------------
50namespace glo
51{
52 //---------------------------------------------------------------------------
77 {
78 private:
79 //============== Attribute
80 //-----------------------------------------------------------------------
91 //-----------------------------------------------------------------------
102 //-----------------------------------------------------------------------
103
104 //============== Konstruktoren
105 //-----------------------------------------------------------------------
116 //-----------------------------------------------------------------------
117
118 public:
119 //============== Konstruktoren
120 //-----------------------------------------------------------------------
142 ServerThread( Server::TcpServerReceiverTransmitter * pTcpServerReceiverTransmitter );
143 //-----------------------------------------------------------------------
154 //-----------------------------------------------------------------------
155
156 private:
157 //============== Konstruktoren
158 //-----------------------------------------------------------------------
169 //-----------------------------------------------------------------------
170
171 public:
172 //============== Methoden
173 //-----------------------------------------------------------------------
187 virtual int takeOverResult( OrderMsg * pOrderMsg ) override;
188 //-----------------------------------------------------------------------
202 virtual int assignDBManager( OrderMsg * pOrderMsg ) override;
203 //-----------------------------------------------------------------------
217 //-----------------------------------------------------------------------
233 //-----------------------------------------------------------------------
234
235 protected:
236 //============== Methoden
237 //-----------------------------------------------------------------------
256 virtual void processServerMsg( OrderMsg * pOrderMsg ) const override;
257 //-----------------------------------------------------------------------
271 virtual int sendToDBManager( OrderMsg * pOrderMsg ) const override;
272 //-----------------------------------------------------------------------
273
274 public:
275 //============== Operatoren
276 //-----------------------------------------------------------------------
278
289 bool operator== ( const ServerThread & rT ) const;
290 bool operator!= ( const ServerThread & rT ) const;
292 //-----------------------------------------------------------------------
293
294 private:
295 //============== Operatoren
296 //-----------------------------------------------------------------------
306 ServerThread & operator= ( ServerThread & );
307 //-----------------------------------------------------------------------
308 };
309 //---------------------------------------------------------------------------
310} // namespace glo
311#endif
Header for Communicator
Header for Manager Manager::Receiver Manager::ObjIdWithDepends Manager::SchemaMapItem
Header for Server and Server::TcpServerReceiverTransmitter
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
Superclass of LocalThread, ClientThread and ServerThread, because they can act as senders and receive...
Definition GloCommunicator.h:93
The object of this class is the central point of contact for actions that deal with GlobalObjects dat...
Definition GloManager.h:193
This class is used to handle the communication between the application that uses GlobalObjects and Gl...
Definition GloOrderMsg.h:84
A special ServerReceiverTransmitter for the Server. Its ServerReceiver is of the derived type TcpServ...
Definition GloServer.h:91
An object of this class serves as interface between Manager and Base or PrivateBase.
Definition GloServerThread.h:77
virtual int sendToDBManager(OrderMsg *pOrderMsg) const override
virtual int takeOverResult(OrderMsg *pOrderMsg) override
Manager * DBManager()
virtual void processServerMsg(OrderMsg *pOrderMsg) const override
virtual int assignDBManager(OrderMsg *pOrderMsg) override
ServerThread(Server::TcpServerReceiverTransmitter *pTcpServerReceiverTransmitter)
Server::TcpServerReceiverTransmitter * getTcpServerReceiverTransmitter()
ServerThread(const ServerThread &)
Manager * m_pDBManager
Definition GloServerThread.h:90
Server::TcpServerReceiverTransmitter * m_pTcpServerReceiverTransmitter
Definition GloServerThread.h:101
Definition GloAbstractBaseLot.h:49