Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XrdNet Class Reference

#include <XrdNet.hh>

Inheritance diagram for XrdNet:

Inheritance graph
[legend]
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
XrdNetSecurityPolice
char * Domain
int Domlen
int iofd
int Portnum
int PortType
int Windowsz
int netOpts
int BuffSize
XrdNetBufferQBuffQ

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]
 

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]
 

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

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]
 

int XrdNet::Domlen [protected]
 

XrdSysError* XrdNet::eDest [protected]
 

int XrdNet::iofd [protected]
 

int XrdNet::netOpts [protected]
 

XrdNetSecurity* XrdNet::Police [protected]
 

int XrdNet::Portnum [protected]
 

int XrdNet::PortType [protected]
 

int XrdNet::Windowsz [protected]
 


The documentation for this class was generated from the following files:
Generated on Sun Nov 6 13:42:15 2011 for xrootd by  doxygen 1.3.9.1