Logo ROOT   6.14/05
Reference Guide
TXHandler.cxx
Go to the documentation of this file.
1 // @(#)root/proofx:$Id$
2 // Author: G. Ganis Mar 2006
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 /** \class TXHandler
13 \ingroup proofx
14 
15 Handler of asynchronous events for XProofD sockets.
16 Classes needing this should inherit from this and overload the relevant methods.
17 
18 */
19 
20 #include "TError.h"
21 #include "TXHandler.h"
22 
24 
25 ////////////////////////////////////////////////////////////////////////////////
26 /// Handler of asynchronous input events
27 
29 {
30  AbstractMethod("HandleInput");
31  return kTRUE;
32 }
33 
34 ////////////////////////////////////////////////////////////////////////////////
35 /// Handler of asynchronous error events
36 
38 {
39  AbstractMethod("HandleError");
40  return kTRUE;
41 }
void AbstractMethod(const char *method)
This function can be used in abstract base classes in case one does not want to make the class a "rea...
Definition: TError.cxx:260
virtual Bool_t HandleError(const void *in=0)
Handler of asynchronous error events.
Definition: TXHandler.cxx:37
bool Bool_t
Definition: RtypesCore.h:59
virtual Bool_t HandleInput(const void *in=0)
Handler of asynchronous input events.
Definition: TXHandler.cxx:28
Handler of asynchronous events for XProofD sockets.
Definition: TXHandler.h:28
#define ClassImp(name)
Definition: Rtypes.h:359
const Bool_t kTRUE
Definition: RtypesCore.h:87