ROOT  6.06/09
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 //////////////////////////////////////////////////////////////////////////
13 // //
14 // TXHandler //
15 // //
16 // Handler of asynchronous events for xproofd sockets. //
17 // Classes needing this should inherit from this and overload the //
18 // relevant methods. //
19 // //
20 //////////////////////////////////////////////////////////////////////////
21 
22 #include "TError.h"
23 #include "TXHandler.h"
24 
26 
27 ////////////////////////////////////////////////////////////////////////////////
28 /// Handler of asynchronous input events
29 
30 Bool_t TXHandler::HandleInput(const void *)
31 {
32  AbstractMethod("HandleInput");
33  return kTRUE;
34 }
35 
36 ////////////////////////////////////////////////////////////////////////////////
37 /// Handler of asynchronous error events
38 
40 {
41  AbstractMethod("HandleError");
42  return kTRUE;
43 }
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
Bool_t HandleInput(const void *in=0)
Handle asynchronous input on the input socket.
virtual Bool_t HandleError(const void *in=0)
Handler of asynchronous error events.
Definition: TXHandler.cxx:39
ClassImp(TXHandler) Bool_t TXHandler
Handler of asynchronous input events.
Definition: TXHandler.cxx:25
bool Bool_t
Definition: RtypesCore.h:59
const Bool_t kTRUE
Definition: Rtypes.h:91