XrdNet Class Reference
#include <XrdNet.hh>
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 |
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) |
Constructor & Destructor Documentation
XrdNet::XrdNet |
( |
XrdSysError * |
erp, |
|
|
XrdNetSecurity * |
secp = 0 | |
|
) |
| | |
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 |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: