#include <TGo4ExampleServer.h>
Inheritance diagram for TGo4ExampleServer:
Public Member Functions | |
TGo4ExampleServer (const char *name, UInt_t negotiationport=0, Bool_t blockingmode=kFALSE) | |
virtual | ~TGo4ExampleServer () |
TGo4ExampleController * | GetController () |
TGo4TaskHandlerCommandList * | CreateCommandList () |
factory method for command list; overridden by implementation | |
virtual Int_t | StartWorkThreads () |
start the working threads of the task implementation; this method is used after the current connection has changed, to continue reading/writing the queues. | |
virtual Int_t | StopWorkThreads () |
stop the working threads of the task implementation; this method is used before the current connection is changed to prevent reading/writing and waiting for the wrong queues. | |
Static Public Attributes | |
static const Text_t | fgcCONTROLTHREAD [] = "CONTROL-" |
suffix for controller thread name | |
static const Text_t | fgcLOGGINGTHREAD [] = "LOGGER-" |
suffix for logging thread name | |
Private Member Functions | |
TGo4ExampleServer () | |
Private Attributes | |
TGo4ExampleController * | fxController |
1 0. | |
Text_t * | fcControlName |
remember name of controller thread | |
Text_t * | fcLoggingName |
remember name of logging thread |
Definition at line 27 of file TGo4ExampleServer.h.
|
Definition at line 49 of file TGo4ExampleServer.cxx. References TGo4Log::Debug(), fcControlName, fcLoggingName, fgcCONTROLTHREAD, fgcLOGGINGTHREAD, TGo4ThreadManager::fguTEXTLENGTH, fxController, TGo4ThreadManager::fxWorkHandler, TGo4ThreadManager::Launch(), TGo4ThreadHandler::NewThread(), and TRACE. |
|
Definition at line 39 of file TGo4ExampleServer.cxx. References TGo4ThreadHandler::CancelAll(), fcControlName, fcLoggingName, fxController, TGo4ThreadManager::fxWorkHandler, and TRACE. |
|
|
|
Definition at line 33 of file TGo4ExampleServer.cxx. References fxController, and TRACE. Referenced by TGo4ControllerRunnable::TGo4ControllerRunnable(), and TGo4LoggingRunnable::TGo4LoggingRunnable(). |
|
factory method for command list; overridden by implementation
Reimplemented from TGo4Task. Definition at line 81 of file TGo4ExampleServer.cxx. |
|
start the working threads of the task implementation; this method is used after the current connection has changed, to continue reading/writing the queues. To be overridden by the derived task. Reimplemented from TGo4Task. Definition at line 120 of file TGo4ExampleServer.cxx. References TGo4Log::Debug(), fcControlName, fcLoggingName, TGo4ThreadManager::GetWorkHandler(), TGo4ThreadHandler::Start(), and TGo4Task::StartWorkThreads(). |
|
stop the working threads of the task implementation; this method is used before the current connection is changed to prevent reading/writing and waiting for the wrong queues. To be overridden by the derived task. Reimplemented from TGo4Task. Definition at line 86 of file TGo4ExampleServer.cxx. References TGo4BufferQueue::AddBufferFromObject(), TGo4Log::Debug(), fcControlName, fcLoggingName, TGo4ServerTask::GetDataQueue(), TGo4ServerTask::GetStatusQueue(), TGo4ThreadManager::GetWorkHandler(), TGo4ThreadHandler::Stop(), and TGo4Task::StopWorkThreads(). |
|
suffix for controller thread name
Definition at line 32 of file TGo4ExampleServer.cxx. Referenced by TGo4ExampleServer(). |
|
suffix for logging thread name
Definition at line 31 of file TGo4ExampleServer.cxx. Referenced by TGo4ExampleServer(). |
|
.1 Definition at line 58 of file TGo4ExampleServer.h. Referenced by GetController(), TGo4ExampleServer(), and ~TGo4ExampleServer(). |
|
remember name of controller thread
Definition at line 61 of file TGo4ExampleServer.h. Referenced by StartWorkThreads(), StopWorkThreads(), TGo4ExampleServer(), and ~TGo4ExampleServer(). |
|
remember name of logging thread
Definition at line 64 of file TGo4ExampleServer.h. Referenced by StartWorkThreads(), StopWorkThreads(), TGo4ExampleServer(), and ~TGo4ExampleServer(). |