From: richterm Date: Fri, 7 Dec 2007 15:33:26 +0000 (+0000) Subject: add ConnectionStatus and ConnectionError to virtual interface X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=9fee2a0919cf1d0e832b4621e9d45f109c56a3a5 add ConnectionStatus and ConnectionError to virtual interface --- diff --git a/HLT/BASE/HOMER/AliHLTHOMERReader.h b/HLT/BASE/HOMER/AliHLTHOMERReader.h index 6b84e4c9a0c..2a8dd0ddffc 100644 --- a/HLT/BASE/HOMER/AliHLTHOMERReader.h +++ b/HLT/BASE/HOMER/AliHLTHOMERReader.h @@ -38,6 +38,14 @@ class AliHLTMonitoringReader AliHLTMonitoringReader() {}; virtual ~AliHLTMonitoringReader() {}; + + /* Return the status of the connection as established by one of the constructors. + 0 means connection is ok, non-zero specifies the type of error that occured. */ + virtual int GetConnectionStatus() const = 0; + + /* Return the index of the connection for which an error given by the above + function occured. */ + virtual unsigned int GetErrorConnectionNdx() const = 0; /* Read in the next available event */ virtual int ReadNextEvent() = 0;