#include <TGo4ExampleServer.h>
Inheritance diagram for TGo4ExampleServer:
Public Methods | |
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. More... | |
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. More... | |
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. More... | |
Static Public Attributes | |
const Text_t | fgcCONTROLTHREAD [] = "CONTROL-" |
suffix for controller thread name. More... | |
const Text_t | fgcLOGGINGTHREAD [] = "LOGGER-" |
suffix for logging thread name. More... | |
Private Methods | |
TGo4ExampleServer () | |
Private Attributes | |
TGo4ExampleController * | fxController |
More... | |
Text_t * | fcControlName |
remember name of controller thread. More... | |
Text_t * | fcLoggingName |
remember name of logging thread. More... |
Definition at line 27 of file TGo4ExampleServer.h.
|
Definition at line 44 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 34 of file TGo4ExampleServer.cxx. References TGo4ThreadHandler::CancelAll(), fcControlName, fcLoggingName, fxController, TGo4ThreadManager::fxWorkHandler, and TRACE. |
|
|
|
Definition at line 28 of file TGo4ExampleServer.cxx. References fxController, and TRACE. |
|
factory method for command list; overridden by implementation.
Reimplemented from TGo4Task. Definition at line 76 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 115 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 81 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 27 of file TGo4ExampleServer.cxx. Referenced by TGo4ExampleServer(). |
|
suffix for logging thread name.
Definition at line 26 of file TGo4ExampleServer.cxx. Referenced by TGo4ExampleServer(). |
|
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(). |