TGo4ExampleServer Class Reference

example class for a server task that fits to the example application More...

#include <TGo4ExampleServer.h>

Inheritance diagram for TGo4ExampleServer:

TGo4ServerTask TGo4Task TGo4ThreadManager TGo4CommandReceiver

List of all members.

Public Member Functions

 TGo4ExampleServer (const char *name, UInt_t negotiationport=0, Bool_t blockingmode=kFALSE)
virtual ~TGo4ExampleServer ()
TGo4ExampleControllerGetController ()
TGo4TaskHandlerCommandListCreateCommandList ()
 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 char * fgcCONTROLTHREAD = "CONTROL-"
 suffix for controller thread name
static const char * fgcLOGGINGTHREAD = "LOGGER-"
 suffix for logging thread name

Private Member Functions

 TGo4ExampleServer ()

Private Attributes

TGo4ExampleControllerfxController
 1 0.
TString fcControlName
 remember name of controller thread
TString fcLoggingName
 remember name of logging thread


Detailed Description

example class for a server task that fits to the example application

Definition at line 25 of file TGo4ExampleServer.h.


Constructor & Destructor Documentation

TGo4ExampleServer::TGo4ExampleServer ( const char *  name,
UInt_t  negotiationport = 0,
Bool_t  blockingmode = kFALSE 
)

Definition at line 44 of file TGo4ExampleServer.cxx.

TGo4ExampleServer::~TGo4ExampleServer (  )  [virtual]

Definition at line 36 of file TGo4ExampleServer.cxx.

TGo4ExampleServer::TGo4ExampleServer (  )  [private]


Member Function Documentation

TGo4ExampleController * TGo4ExampleServer::GetController (  ) 

Definition at line 30 of file TGo4ExampleServer.cxx.

TGo4TaskHandlerCommandList * TGo4ExampleServer::CreateCommandList (  )  [virtual]

factory method for command list; overridden by implementation

Reimplemented from TGo4Task.

Definition at line 70 of file TGo4ExampleServer.cxx.

Int_t TGo4ExampleServer::StartWorkThreads (  )  [virtual]

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 109 of file TGo4ExampleServer.cxx.

Int_t TGo4ExampleServer::StopWorkThreads (  )  [virtual]

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 75 of file TGo4ExampleServer.cxx.


Member Data Documentation

const char * TGo4ExampleServer::fgcCONTROLTHREAD = "CONTROL-" [static]

suffix for controller thread name

Definition at line 44 of file TGo4ExampleServer.h.

const char * TGo4ExampleServer::fgcLOGGINGTHREAD = "LOGGER-" [static]

suffix for logging thread name

Definition at line 47 of file TGo4ExampleServer.h.

1 0.

.1

Definition at line 56 of file TGo4ExampleServer.h.

remember name of controller thread

Definition at line 59 of file TGo4ExampleServer.h.

remember name of logging thread

Definition at line 62 of file TGo4ExampleServer.h.


The documentation for this class was generated from the following files:

Generated on Thu Oct 28 12:31:30 2010 for Go4-Taskhandlerv4.04-2 by  doxygen 1.5.6