![]() |
XRootD
|
An abstract class to describe the client-side monitoring plugin interface. More...
#include <XrdClMonitor.hh>
Classes | |
struct | CheckSumInfo |
Describe a checksum event. More... | |
struct | CloseInfo |
Describe a file close event. More... | |
struct | ConnectInfo |
Describe a server login event. More... | |
struct | CopyBInfo |
struct | CopyEInfo |
Describe an end of copy event. More... | |
struct | DisconnectInfo |
Describe a server logout event. More... | |
struct | ErrorInfo |
Describe an encountered file-based error. More... | |
struct | OpenInfo |
Describe a file open event to the monitor. More... | |
struct | TransferInfo |
Describe the transfer. More... | |
Public Types | |
enum | EventCode { EvCopyBeg , EvCopyEnd , EvCheckSum , EvOpen , EvClose , EvErrIO , EvConnect , EvDisconnect } |
Public Member Functions | |
Monitor () | |
Constructor. More... | |
virtual | ~Monitor () |
Destructor. More... | |
virtual void | Event (EventCode evCode, void *evData)=0 |
An abstract class to describe the client-side monitoring plugin interface.
Definition at line 55 of file XrdClMonitor.hh.
struct XrdCl::Monitor::CopyBInfo |
Describe a start of copy event. Copy events are sequential by nature. a copybeg event is followed by a number of open and close events. When the copy finishes, all files are closed and a copyend event occurs.
Definition at line 173 of file XrdClMonitor.hh.
Class Members | ||
---|---|---|
TransferInfo | transfer | The transfer in question. |
Event codes passed to the Event() method. Event code values not listed here, if encountered, should be ignored.
Enumerator | |
---|---|
EvCopyBeg | CopyBInfo: Copy operation started. |
EvCopyEnd | CopyEInfo: Copy operation ended. |
EvCheckSum | CheckSumInfo: File checksummed. |
EvOpen | |
EvClose | |
EvErrIO | ErrorInfo: An I/O error occurred. |
EvConnect | ConnectInfo: Login into a server. |
EvDisconnect | DisconnectInfo: Logout from a server. |
Definition at line 212 of file XrdClMonitor.hh.
|
inline |
|
inlinevirtual |
|
pure virtual |
Inform the monitor of an event.
evCode | is the event that occurred (see enum evNum) |
evData | is the event information structure describing the event it is cast to (void *) so that one method can be used and should be recast to the correct corresponding struct |
Referenced by XrdCl::Stream::OnConnect(), XrdCl::FileStateHandler::OnOpen(), XrdCl::FileStateHandler::OnStateError(), XrdCl::ClassicCopyJob::Run(), and XrdCl::ThirdPartyCopyJob::Run().