#include <XrdNet.hh>
Collaboration diagram for XrdNet:
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 | |
XrdSysError * | eDest |
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) |
XrdNet::XrdNet | ( | XrdSysError * | erp, | |
XrdNetSecurity * | secp = 0 | |||
) |
XrdNet::~XrdNet | ( | ) |
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 | ( | ) |
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] |