Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4TaskHandlerStatus Class Reference

#include <TGo4TaskHandlerStatus.h>

Inheritance diagram for TGo4TaskHandlerStatus:

TGo4Status List of all members.

Public Member Functions

 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

Private Member Functions

 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.
TString fxStatName
 Remember name of status thread.
TString fxDatName
 Remember name of data thread.
TString fxHostName
 Remember name of remote task handler.
UInt_t fuNegPort
 Actual port number of negotiation connection (raw transport).
Int_t fiComPort
 Command connection port number.
Int_t fiStatPort
 Status connection port number.
Int_t fiDatPort
 Data connection port number.
Bool_t fbIsAborting
 true if taskhandler is being aborted e.g.

Friends

class TGo4TaskHandler

Constructor & Destructor Documentation

TGo4TaskHandlerStatus::TGo4TaskHandlerStatus  ) 
 

Definition at line 22 of file TGo4TaskHandlerStatus.cxx.

TGo4TaskHandlerStatus::~TGo4TaskHandlerStatus  )  [virtual]
 

Definition at line 51 of file TGo4TaskHandlerStatus.cxx.

TGo4TaskHandlerStatus::TGo4TaskHandlerStatus const char *   )  [private]
 

Definition at line 36 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 55 of file TGo4TaskHandlerStatus.cxx.

References fbIsAborting, 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 97 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 102 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 110 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 60 of file TGo4TaskHandlerStatus.h.

Referenced by GetComName(), and SetNames().

TString TGo4TaskHandlerStatus::fxStatName [private]
 

Remember name of status thread.

Definition at line 63 of file TGo4TaskHandlerStatus.h.

Referenced by GetStatName(), and SetNames().

TString TGo4TaskHandlerStatus::fxDatName [private]
 

Remember name of data thread.

Definition at line 66 of file TGo4TaskHandlerStatus.h.

Referenced by GetDatName(), and SetNames().

TString TGo4TaskHandlerStatus::fxHostName [private]
 

Remember name of remote task handler.

Definition at line 69 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 72 of file TGo4TaskHandlerStatus.h.

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

Int_t TGo4TaskHandlerStatus::fiComPort [private]
 

Command connection port number.

Definition at line 75 of file TGo4TaskHandlerStatus.h.

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

Int_t TGo4TaskHandlerStatus::fiStatPort [private]
 

Status connection port number.

Definition at line 78 of file TGo4TaskHandlerStatus.h.

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

Int_t TGo4TaskHandlerStatus::fiDatPort [private]
 

Data connection port number.

Definition at line 81 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 84 of file TGo4TaskHandlerStatus.h.

Referenced by IsAborting(), PrintStatus(), and SetFlags().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:01:20 2008 for Go4-v3.04-1 by  doxygen 1.4.2