// @(#)root/proofx:$Id: TXHandler.h 20882 2007-11-19 11:31:26Z rdm $
// 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.                                                    //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

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

Last change: Wed Jun 25 08:55:08 2008
Last generated: 2008-06-25 08:55

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.