]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
add ConnectionStatus and ConnectionError to virtual interface
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Dec 2007 15:33:26 +0000 (15:33 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Dec 2007 15:33:26 +0000 (15:33 +0000)
HLT/BASE/HOMER/AliHLTHOMERReader.h

index 6b84e4c9a0cdbe66e5ca6f08480a7ac2a89c183f..2a8dd0ddffcd28fe80ccf48898eac3662b381176 100644 (file)
@@ -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;