Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4TaskHandlerStatus Class Reference

#include <TGo4TaskHandlerStatus.h>

Inheritance diagram for TGo4TaskHandlerStatus:

TGo4Status List of all members.

Public Methods

 TGo4TaskHandlerStatus ()
virtual ~TGo4TaskHandlerStatus ()
const char * GetComName () const
const char * GetStatName () const
const char * GetDatName () const
const char * GetHostName () const
UInt_t GetNegPort () const
Int_t GetComPort () const
Int_t GetStatPort () const
Int_t GetDatPort () const
Bool_t IsAborting () const
virtual Int_t PrintStatus (Text_t *buffer=0, Int_t buflen=0)
 basic method to printout status information on stdout; to be overridden by specific subclass. More...


Private Methods

 TGo4TaskHandlerStatus (const char *)
void SetFlags (Bool_t isaborting)
void SetPorts (UInt_t neg, Int_t com, Int_t stat, Int_t dat)
void SetNames (const char *com, const char *stat, const char *dat, const char *host)

Private Attributes

TString fxComName
 Remember name of command thread. More...

TString fxStatName
 Remember name of status thread. More...

TString fxDatName
 Remember name of data thread. More...

TString fxHostName
 Remember name of remote task handler. More...

UInt_t fuNegPort
 Actual port number of negotiation connection (raw transport). More...

Int_t fiComPort
 Command connection port number. More...

Int_t fiStatPort
 Status connection port number. More...

Int_t fiDatPort
 Data connection port number. More...

Bool_t fbIsAborting
 true if taskhandler is being aborted e.g. More...


Friends

class TGo4TaskHandler

Constructor & Destructor Documentation

TGo4TaskHandlerStatus::TGo4TaskHandlerStatus   [inline]
 

Definition at line 26 of file TGo4TaskHandlerStatus.h.

TGo4TaskHandlerStatus::~TGo4TaskHandlerStatus   [virtual]
 

Definition at line 26 of file TGo4TaskHandlerStatus.cxx.

TGo4TaskHandlerStatus::TGo4TaskHandlerStatus const char *    [private]
 

Definition at line 22 of file TGo4TaskHandlerStatus.cxx.


Member Function Documentation

const char* TGo4TaskHandlerStatus::GetComName   const [inline]
 

Definition at line 30 of file TGo4TaskHandlerStatus.h.

References fxComName.

Referenced by PrintStatus().

const char* TGo4TaskHandlerStatus::GetStatName   const [inline]
 

Definition at line 32 of file TGo4TaskHandlerStatus.h.

References fxStatName.

Referenced by PrintStatus().

const char* TGo4TaskHandlerStatus::GetDatName   const [inline]
 

Definition at line 34 of file TGo4TaskHandlerStatus.h.

References fxDatName.

Referenced by PrintStatus().

const char* TGo4TaskHandlerStatus::GetHostName   const [inline]
 

Definition at line 36 of file TGo4TaskHandlerStatus.h.

References fxHostName.

Referenced by PrintStatus().

UInt_t TGo4TaskHandlerStatus::GetNegPort   const [inline]
 

Definition at line 38 of file TGo4TaskHandlerStatus.h.

References fuNegPort.

Int_t TGo4TaskHandlerStatus::GetComPort   const [inline]
 

Definition at line 40 of file TGo4TaskHandlerStatus.h.

References fiComPort.

Int_t TGo4TaskHandlerStatus::GetStatPort   const [inline]
 

Definition at line 42 of file TGo4TaskHandlerStatus.h.

References fiStatPort.

Int_t TGo4TaskHandlerStatus::GetDatPort   const [inline]
 

Definition at line 44 of file TGo4TaskHandlerStatus.h.

References fiDatPort.

Bool_t TGo4TaskHandlerStatus::IsAborting   const [inline]
 

Definition at line 46 of file TGo4TaskHandlerStatus.h.

References fbIsAborting.

Int_t TGo4TaskHandlerStatus::PrintStatus Text_t *    buffer = 0,
Int_t    buflen = 0
[virtual]
 

basic method to printout status information on stdout; to be overridden by specific subclass.

Reimplemented from TGo4Status.

Definition at line 30 of file TGo4TaskHandlerStatus.cxx.

References fiComPort, fiDatPort, fiStatPort, fuNegPort, GetComName(), GetDatName(), GetHostName(), GetStatName(), and TGo4Status::PrintBuffer().

Referenced by TGo4TaskStatus::PrintStatus().

void TGo4TaskHandlerStatus::SetFlags Bool_t    isaborting [private]
 

Definition at line 72 of file TGo4TaskHandlerStatus.cxx.

References fbIsAborting.

Referenced by TGo4TaskHandler::CreateStatus().

void TGo4TaskHandlerStatus::SetPorts UInt_t    neg,
Int_t    com,
Int_t    stat,
Int_t    dat
[private]
 

Definition at line 77 of file TGo4TaskHandlerStatus.cxx.

References fiComPort, fiDatPort, fiStatPort, and fuNegPort.

Referenced by TGo4TaskHandler::CreateStatus().

void TGo4TaskHandlerStatus::SetNames const char *    com,
const char *    stat,
const char *    dat,
const char *    host
[private]
 

Definition at line 85 of file TGo4TaskHandlerStatus.cxx.

References fxComName, fxDatName, fxHostName, and fxStatName.

Referenced by TGo4TaskHandler::CreateStatus().


Friends And Related Function Documentation

friend class TGo4TaskHandler [friend]
 

Definition at line 23 of file TGo4TaskHandlerStatus.h.


Member Data Documentation

TString TGo4TaskHandlerStatus::fxComName [private]
 

Remember name of command thread.

Definition at line 65 of file TGo4TaskHandlerStatus.h.

Referenced by GetComName(), and SetNames().

TString TGo4TaskHandlerStatus::fxStatName [private]
 

Remember name of status thread.

Definition at line 68 of file TGo4TaskHandlerStatus.h.

Referenced by GetStatName(), and SetNames().

TString TGo4TaskHandlerStatus::fxDatName [private]
 

Remember name of data thread.

Definition at line 71 of file TGo4TaskHandlerStatus.h.

Referenced by GetDatName(), and SetNames().

TString TGo4TaskHandlerStatus::fxHostName [private]
 

Remember name of remote task handler.

Definition at line 74 of file TGo4TaskHandlerStatus.h.

Referenced by GetHostName(), and SetNames().

UInt_t TGo4TaskHandlerStatus::fuNegPort [private]
 

Actual port number of negotiation connection (raw transport).

Definition at line 77 of file TGo4TaskHandlerStatus.h.

Referenced by GetNegPort(), PrintStatus(), and SetPorts().

Int_t TGo4TaskHandlerStatus::fiComPort [private]
 

Command connection port number.

Definition at line 80 of file TGo4TaskHandlerStatus.h.

Referenced by GetComPort(), PrintStatus(), and SetPorts().

Int_t TGo4TaskHandlerStatus::fiStatPort [private]
 

Status connection port number.

Definition at line 83 of file TGo4TaskHandlerStatus.h.

Referenced by GetStatPort(), PrintStatus(), and SetPorts().

Int_t TGo4TaskHandlerStatus::fiDatPort [private]
 

Data connection port number.

Definition at line 86 of file TGo4TaskHandlerStatus.h.

Referenced by GetDatPort(), PrintStatus(), and SetPorts().

Bool_t TGo4TaskHandlerStatus::fbIsAborting [private]
 

true if taskhandler is being aborted e.g.

by remove exception

Definition at line 92 of file TGo4TaskHandlerStatus.h.

Referenced by IsAborting(), and SetFlags().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:56 2005 for Go4-v2.10-5 by doxygen1.2.15