14 #ifndef TGO4TASKHANDLER_H
15 #define TGO4TASKHANDLER_H
386 #endif //TGO4TASKHANDLER_H
TGo4Socket * GetCommandTransport() const
static const char * fgcSTATUSTHREAD
const char * GetDatName() const
static const UInt_t fguDATAQUEUESIZE
Bool_t DisConnect(Bool_t waitforclient=kTRUE)
static TNamed fgxADMINISTRATORACCOUNT
static UInt_t Get_fguPORTWAITTIME()
Int_t GetStatPort() const
void StartTransportThreads()
static const char * fgcDATATHREAD
Bool_t StopTransportThreads(Bool_t wait=kTRUE)
static const UInt_t fguCOMMANDQUEUESIZE
static void SetObservAccount(const char *name, const char *passwd)
TGo4ThreadManager * fxThreadManager
TGo4Queue * GetStatusQueue() const
Bool_t IsAborting() const
static const Int_t fgiPORTWAITCYCLES
static const UInt_t fguTRANSPORTCHECKDELAY
static const char * Get_fgcERROR()
TGo4Socket * GetDataTransport() const
static const char * fgcERROR
static const Int_t fgiTHREADSTOPCYCLES
static const char * Get_fgcOK()
TGo4DataRunnable * fxDataRun
Bool_t IsClientMode() const
static void SetCtrlAccount(const char *name, const char *passwd)
void SetAborting(Bool_t isaborting=kTRUE)
TGo4Queue * GetCommandQueue() const
static const UInt_t fguSTATUSQUEUESIZE
void SetInvoker(TGo4CommandInvoker *inv)
TGo4Socket * GetStatusTransport() const
TGo4ThreadManager * GetThreadManager() const
TGo4Queue * fxCommandQueue
TGo4StatusRunnable * fxStatusRun
TGo4Socket * fxCommandTransport
Bool_t WaitThreadStop(const char *name)
static const UInt_t fguPORTWAITTIME
TGo4CommandRunnable * fxCommandRun
static const char * fgcCONNECT
Bool_t ConnectServerChannel(const char *name, TGo4Socket *negotiator, TGo4Socket *channel, const char *host)
TGo4Queue * GetDataQueue() const
TGo4Socket * fxStatusTransport
static const char * fgcOK
const char * GetComName() const
const char * GetStatName() const
static const char * fgcCOMMANDTHREAD
static const char * fgcMASTER
TGo4Socket * fxDataTransport
Bool_t ConnectClientChannel(const char *name, TGo4Socket *negotiator, TGo4Socket *channel, const char *host)
const char * GetHostName() const
TGo4ThreadHandler * fxThreadHandler
void SetNegotiationPort(UInt_t port)
virtual TGo4TaskHandlerStatus * CreateStatus()
virtual ~TGo4TaskHandler()
Bool_t IsMasterMode() const
static const UInt_t fguCONNECTORPORT
static TNamed fgxCONTROLLERACCOUNT
Go4CommandMode_t GetRole()
static const char * fgcSLAVE
void SetRole(Go4CommandMode_t role)
TGo4CommandInvoker * GetInvoker() const
static const UInt_t fguTHREADSTOPTIME
static TNamed fgxOBSERVERACCOUNT
static void SetAdminAccount(const char *name, const char *passwd)
static Int_t Get_fgiPORTWAITCYCLES()
static const char * fgcDISCONNECT
TGo4Queue * fxStatusQueue
TGo4CommandInvoker * fxInvoker
TGo4Socket * ServerRequest(const char *host="localhost")
Int_t WaitGetPort(TGo4Socket *sock)
Bool_t Connect(const char *host="localhost", TGo4Socket *negotiator=0)
Bool_t ServerLogin(TGo4Socket *connector, Go4CommandMode_t account)
void CloseChannels(Option_t *opt="")