#ifndef ROOT_TXUnixSocket
#define ROOT_TXUnixSocket
#ifndef ROOT_TXSocket
#include "TXSocket.h"
#endif
#include <list>
class TXHandler;
class TXUnixSocket : public TXSocket {
friend class TXProofServ;
private:
std::list<Int_t> fClientIDs;
public:
TXUnixSocket(const char *u,
Int_t psid = -1, Char_t ver = -1, TXHandler *handler = 0);
virtual ~TXUnixSocket() { fSessionID = -1; }
Int_t GetClientID() const { return (fClientIDs.size() > 0) ? fClientIDs.front() : -1; }
Int_t GetClientIDSize() const { return fClientIDs.size(); }
void RemoveClientID() { if (fClientIDs.size() > 1) fClientIDs.pop_front(); }
void SetClientID(Int_t cid) { fClientIDs.push_front(cid); }
Int_t Reconnect();
ClassDef(TXUnixSocket, 0)
};
#endif
Last change: Wed Jul 9 12:31:39 2008
Last generated: 2008-07-09 12:31
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.