virtual void Remove(TSocket *sock)
Remove a socket from the monitor.
Int_t GetActive(Long_t timeout=-1) const
Return number of sockets in the active list.
Int_t GetDeActive() const
Return number of sockets in the de-active list.
This is the ROOT implementation of the Qt object communication mechanism (see also http://www...
virtual void Add(TSocket *sock, Int_t interest=kRead)
Add socket to the monitor's active list.
Bool_t IsActive(TSocket *s) const
Check if socket 's' is in the active list.
virtual void RemoveAll()
Remove all sockets from the monitor.
virtual ~TMonitor()
Cleanup the monitor object. Does not delete sockets being monitored.
This is the version of TSlave for workers servers based on XProofD.
virtual void DeActivateAll()
De-activate all activated sockets.
#define ClassDef(name, id)
virtual void DeActivate(TSocket *sock)
De-activate a socket.
friend class TTimeOutTimer
TSocket * Select()
Return pointer to socket for which an event is waiting.
virtual void SetInterest(TSocket *sock, Int_t interest=kRead)
Set interest mask for socket sock to interest.
High level handler of connections to XProofD.
void SetReady(TSocket *sock)
Called by TSocketHandler::Notify() to signal which socket is ready to be read or written.
TList * GetListOfActives() const
Returns a list with all active sockets.
virtual void Activate(TSocket *sock)
Activate a de-activated socket.
TList * GetListOfDeActives() const
Returns a list with all de-active sockets.
virtual void Ready(TSocket *sock)
Emit signal when some socket is ready.
Mother of all ROOT objects.
friend class TSocketHandler
TMonitor(Bool_t mainloop=kTRUE)
Create a monitor object.
virtual void ActivateAll()
Activate all de-activated sockets.