#include <XrdInet.hh>
Public Member Functions | |
XrdLink * | Accept (int opts=0, int timeout=-1, XrdSysSemaphore *theSem=0) |
int | BindSD (int port, const char *contype="tcp") |
XrdLink * | Connect (const char *host, int port, int opts=0, int timeout=-1) |
void | Secure (XrdNetSecurity *secp) |
XrdInet (XrdSysError *erp, XrdOucTrace *tP, XrdNetSecurity *secp=0) | |
~XrdInet () | |
Static Public Member Functions | |
static void | SetAssumeV4 (bool newVal) |
static bool | GetAssumeV4 () |
Static Public Attributes | |
static XrdNetIF | netIF |
Private Member Functions | |
int | Listen () |
Private Attributes | |
XrdNetSecurity * | Patrol |
XrdOucTrace * | XrdTrace |
Static Private Attributes | |
static const char * | TraceID |
static bool | AssumeV4 |
XrdInet::XrdInet | ( | XrdSysError * | erp, | |
XrdOucTrace * | tP, | |||
XrdNetSecurity * | secp = 0 | |||
) | [inline] |
XrdInet::~XrdInet | ( | ) | [inline] |
XrdLink* XrdInet::Accept | ( | int | opts = 0 , |
|
int | timeout = -1 , |
|||
XrdSysSemaphore * | theSem = 0 | |||
) |
int XrdInet::BindSD | ( | int | port, | |
const char * | contype = "tcp" | |||
) |
XrdLink* XrdInet::Connect | ( | const char * | host, | |
int | port, | |||
int | opts = 0 , |
|||
int | timeout = -1 | |||
) |
static bool XrdInet::GetAssumeV4 | ( | ) | [inline, static] |
References AssumeV4.
int XrdInet::Listen | ( | ) | [private] |
void XrdInet::Secure | ( | XrdNetSecurity * | secp | ) | [virtual] |
Add a NetSecurity object to the existing accept() security constraints.
secp | Pointer to the network security object. This object must not be deleted nor directly used after the call as this object assumes its ownership and may delete it at any time. |
Reimplemented from XrdNet.
static void XrdInet::SetAssumeV4 | ( | bool | newVal | ) | [inline, static] |
References AssumeV4.
bool XrdInet::AssumeV4 [static, private] |
Referenced by GetAssumeV4(), and SetAssumeV4().
XrdNetIF XrdInet::netIF [static] |
XrdNetSecurity* XrdInet::Patrol [private] |
const char* XrdInet::TraceID [static, private] |
XrdOucTrace* XrdInet::XrdTrace [private] |