Logo ROOT   6.07/09
Reference Guide
TXHandler.h
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 #ifndef ROOT_TXHandler
13 #define ROOT_TXHandler
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // TXHandler //
18 // //
19 // Handler of asynchronous events for xproofd sockets. //
20 // Classes which need this should inherit from it and overload the //
21 // relevant methods. //
22 // //
23 //////////////////////////////////////////////////////////////////////////
24 
25 #ifndef ROOT_Rtypes
26 #include "Rtypes.h"
27 #endif
28 
29 
30 class TXHandler {
31 
32 public:
33  TXHandler() { }
34  virtual ~TXHandler() { }
35 
36  virtual Bool_t HandleInput(const void *in = 0);
37  virtual Bool_t HandleError(const void *in = 0);
38 
39  ClassDef(TXHandler, 0) //Template class for handling of async events
40 };
41 
42 #endif
virtual Bool_t HandleError(const void *in=0)
Handler of asynchronous error events.
Definition: TXHandler.cxx:37
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual ~TXHandler()
Definition: TXHandler.h:34
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:30
TXHandler()
Definition: TXHandler.h:33