Logo ROOT  
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#include "Rtypes.h"
26
27
28class TXHandler {
29
30public:
32 virtual ~TXHandler() { }
33
34 virtual Bool_t HandleInput(const void *in = 0);
35 virtual Bool_t HandleError(const void *in = 0);
36
37 ClassDef(TXHandler, 0) //Template class for handling of async events
38};
39
40#endif
bool Bool_t
Definition: RtypesCore.h:61
#define ClassDef(name, id)
Definition: Rtypes.h:322
Handler of asynchronous events for XProofD sockets.
Definition: TXHandler.h:28
TXHandler()
Definition: TXHandler.h:31
virtual Bool_t HandleInput(const void *in=0)
Handler of asynchronous input events.
Definition: TXHandler.cxx:28
virtual Bool_t HandleError(const void *in=0)
Handler of asynchronous error events.
Definition: TXHandler.cxx:37
virtual ~TXHandler()
Definition: TXHandler.h:32