XrdNet Class Reference

#include <XrdNet.hh>

Collaboration diagram for XrdNet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int Accept (XrdNetPeer &myPeer, int opts=0, int timeout=-1)
int Bind (int port, const char *contype="tcp")
int Bind (char *path, const char *contype="stream")
int Connect (XrdNetPeer &myPeer, const char *host, int port, int opts=0, int timeout=-1)
int Relay (XrdNetPeer &Peer, const char *dest, int opts=0)
int Port ()
void Secure (XrdNetSecurity *secp)
void setDefaults (int options, int buffsz=0)
void setDomain (const char *dname)
void Trim (char *hname)
void unBind ()
int WSize ()
 XrdNet (XrdSysError *erp, XrdNetSecurity *secp=0)
 ~XrdNet ()

Protected Attributes

XrdSysErroreDest
XrdNetSecurity * Police
char * Domain
int Domlen
int iofd
int Portnum
int PortType
int Windowsz
int netOpts
int BuffSize
XrdNetBufferQ * BuffQ

Private Member Functions

int do_Accept_TCP (XrdNetPeer &myPeer, int opts)
int do_Accept_UDP (XrdNetPeer &myPeer, int opts)

Constructor & Destructor Documentation

XrdNet::XrdNet ( XrdSysError erp,
XrdNetSecurity *  secp = 0 
)
XrdNet::~XrdNet (  ) 

Member Function Documentation

int XrdNet::Accept ( XrdNetPeer &  myPeer,
int  opts = 0,
int  timeout = -1 
)
int XrdNet::Bind ( char *  path,
const char *  contype = "stream" 
)
int XrdNet::Bind ( int  port,
const char *  contype = "tcp" 
)
int XrdNet::Connect ( XrdNetPeer &  myPeer,
const char *  host,
int  port,
int  opts = 0,
int  timeout = -1 
)
int XrdNet::do_Accept_TCP ( XrdNetPeer &  myPeer,
int  opts 
) [private]
int XrdNet::do_Accept_UDP ( XrdNetPeer &  myPeer,
int  opts 
) [private]
int XrdNet::Port (  )  [inline]

References Portnum.

int XrdNet::Relay ( XrdNetPeer &  Peer,
const char *  dest,
int  opts = 0 
)
void XrdNet::Secure ( XrdNetSecurity *  secp  ) 
void XrdNet::setDefaults ( int  options,
int  buffsz = 0 
) [inline]

References netOpts, and Windowsz.

void XrdNet::setDomain ( const char *  dname  )  [inline]

References Domain, and Domlen.

void XrdNet::Trim ( char *  hname  ) 
void XrdNet::unBind (  ) 
int XrdNet::WSize (  ) 

Member Data Documentation

XrdNetBufferQ* XrdNet::BuffQ [protected]
int XrdNet::BuffSize [protected]
char* XrdNet::Domain [protected]

Referenced by setDomain().

int XrdNet::Domlen [protected]

Referenced by setDomain().

XrdSysError* XrdNet::eDest [protected]
int XrdNet::iofd [protected]
int XrdNet::netOpts [protected]

Referenced by setDefaults().

XrdNetSecurity* XrdNet::Police [protected]
int XrdNet::Portnum [protected]

Referenced by Port().

int XrdNet::PortType [protected]
int XrdNet::Windowsz [protected]

Referenced by setDefaults().


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

Generated on 16 Jan 2014 for xrootd by  doxygen 1.6.1