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

TGo4RevServ Class Reference

Implements the gsi root remote event server into the go4 classes. More...

#include <TGo4RevServ.h>

Inheritance diagram for TGo4RevServ:

TGo4MbsSource TGo4EventSource List of all members.

Public Member Functions

 TGo4RevServ (const char *name)
 TGo4RevServ ()
 TGo4RevServ (TGo4RevServParameter *par)
 ~TGo4RevServ ()
virtual Int_t Open ()
 Open the file or connection.
void SetPort (Int_t port)

Static Public Attributes

static const Int_t fgiDEFAULTPORT = 6003
 default remote eventserver portnumber

Private Attributes

Int_t fiPort
 Port number for remote event server only.

Detailed Description

Implements the gsi root remote event server into the go4 classes.

May be a simple wrapper for the mrevlib or liblea stuff.

Author:
J. Adamczewski
Since:
1/2001

Definition at line 29 of file TGo4RevServ.h.


Constructor & Destructor Documentation

TGo4RevServ::TGo4RevServ const char *  name  ) 
 

Definition at line 24 of file TGo4RevServ.cxx.

References TGo4Log::Debug(), TGo4EventSource::fgiTIMEOUTDEFAULT, Open(), TGo4MbsSource::SetTimeout(), and TRACE.

TGo4RevServ::TGo4RevServ  ) 
 

Definition at line 44 of file TGo4RevServ.cxx.

References TRACE.

TGo4RevServ::TGo4RevServ TGo4RevServParameter par  ) 
 

Definition at line 33 of file TGo4RevServ.cxx.

References TGo4Log::Debug(), TGo4RevServParameter::GetPort(), TGo4EventSourceParameter::GetTimeout(), Open(), SetPort(), TGo4MbsSource::SetTimeout(), and TRACE.

TGo4RevServ::~TGo4RevServ  ) 
 

Definition at line 50 of file TGo4RevServ.cxx.

References TGo4MbsSource::Close(), and TRACE.


Member Function Documentation

Int_t TGo4RevServ::Open  )  [virtual]
 

Open the file or connection.

Reimplemented from TGo4MbsSource.

Definition at line 56 of file TGo4RevServ.cxx.

References f_evt_error(), f_evt_rev_port(), TGo4MbsSource::fbIsOpen, fgiDEFAULTPORT, TGo4EventSource::fguTXTLEN, fiPort, TGo4EventSource::GetCreateStatus(), GETEVT__SUCCESS, TGo4MbsSource::Open(), TGo4EventSource::SetCreateStatus(), TGo4EventSource::SetErrMess(), and TRACE.

Referenced by TGo4RevServ().

void TGo4RevServ::SetPort Int_t  port  )  [inline]
 

Definition at line 43 of file TGo4RevServ.h.

References fiPort.

Referenced by TGo4RevServ().


Member Data Documentation

const Int_t TGo4RevServ::fgiDEFAULTPORT = 6003 [static]
 

default remote eventserver portnumber

Definition at line 22 of file TGo4RevServ.cxx.

Referenced by Open().

Int_t TGo4RevServ::fiPort [private]
 

Port number for remote event server only.

Definition at line 50 of file TGo4RevServ.h.

Referenced by Open(), and SetPort().


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