#ifndef ROOT_TXSocketHandler
#define ROOT_TXSocketHandler
#ifndef ROOT_TSysEvtHandler
#include "TSysEvtHandler.h"
#endif
#ifndef ROOT_TXSocket
#include "TXSocket.h"
#endif
class TXSocketHandler : public TFileHandler {
friend class TXSocket;
TFileHandler *fHandler;
TSocket *fInputSock;
void SetHandler(TFileHandler *h, TSocket *s)
{ fHandler = h; fInputSock = s; }
static TXSocketHandler *fgSocketHandler;
TXSocketHandler(TFileHandler *h, TSocket *s) :
TFileHandler(TXSocket::GetPipeRead(), 1)
{ fHandler = h; fInputSock = s; }
public:
virtual ~TXSocketHandler() { }
Bool_t Notify();
Bool_t ReadNotify() { return Notify(); }
static TXSocketHandler *GetSocketHandler(TFileHandler *h = 0, TSocket *s = 0);
ClassDef(TXSocketHandler, 0)
};
#endif
Last update: Thu Jan 17 09:05:37 2008
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.