xrootd
Classes | Public Member Functions | List of all members
XrdTcpMonPin Class Referenceabstract

#include <XrdTcpMonPin.hh>

Classes

struct  LinkInfo
 

Public Member Functions

virtual void Monitor (XrdNetAddrInfo &netInfo, LinkInfo &lnkInfo, int liLen)=0
 
 XrdTcpMonPin ()
 
virtual ~XrdTcpMonPin ()
 

Detailed Description

This class defines the XrdLink TCP post monitoring plugin. This plugin is used to generate additional moinitoring information, as needed, when the connection is about to be closed. The plugin should use the g-stream object recorded in the passed environment. If not found, the getInstance() method should return failure as this plugin should not be loaded unless such an object exists in the environment. You get the g-stream object specific to this plugin by executing the following (assume envR is the environment):

XrdXrootdGStream gS = (XrdXrootdGStream *)envR.GetPtr("TcpMon.gStream</em>");

Constructor & Destructor Documentation

◆ XrdTcpMonPin()

XrdTcpMonPin::XrdTcpMonPin ( )
inline

◆ ~XrdTcpMonPin()

virtual XrdTcpMonPin::~XrdTcpMonPin ( )
inlinevirtual

Member Function Documentation

◆ Monitor()

virtual void XrdTcpMonPin::Monitor ( XrdNetAddrInfo netInfo,
LinkInfo lnkInfo,
int  liLen 
)
pure virtual

The documentation for this class was generated from the following file: