ROOT
6.06/04
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
proof
proofx
src
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
25
ClassImp
(
TXHandler
)
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
39
Bool_t
TXHandler::HandleError
(
const
void
*)
40
{
41
AbstractMethod
(
"HandleError"
);
42
return
kTRUE
;
43
}
AbstractMethod
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
TXProofServ::HandleInput
Bool_t HandleInput(const void *in=0)
Handle asynchronous input on the input socket.
Definition:
TXProofServ.cxx:969
TXHandler::HandleError
virtual Bool_t HandleError(const void *in=0)
Handler of asynchronous error events.
Definition:
TXHandler.cxx:39
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TXHandler
Definition:
TXHandler.h:30
TError.h
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:279
TXHandler.h
kTRUE
const Bool_t kTRUE
Definition:
Rtypes.h:91