forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TXHandler.h
42 lines (32 loc) · 1.58 KB
/
TXHandler.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// @(#)root/proofx:$Id$
// Author: G. Ganis Mar 2006
/*************************************************************************
* Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TXHandler
#define ROOT_TXHandler
//////////////////////////////////////////////////////////////////////////
// //
// TXHandler //
// //
// Handler of asynchronous events for xproofd sockets. //
// Classes which need this should inherit from it and overload the //
// relevant methods. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
class TXHandler {
public:
TXHandler() { }
virtual ~TXHandler() { }
virtual Bool_t HandleInput(const void *in = 0);
virtual Bool_t HandleError(const void *in = 0);
ClassDef(TXHandler, 0) //Template class for handling of async events
};
#endif