xrootd
Main Page
Namespaces
Classes
Files
File List
File Members
src
Xrd
XrdInet.hh
Go to the documentation of this file.
1
#ifndef __XRD_INET_H__
2
#define __XRD_INET_H__
3
/******************************************************************************/
4
/* */
5
/* X r d I n e t . h h */
6
/* */
7
/* (c) 2004 by the Board of Trustees of the Leland Stanford, Jr., University */
8
/* All Rights Reserved. See XrdInfo.cc for complete License Terms */
9
/* Produced by Andrew Hanushevsky for Stanford University under contract */
10
/* DE-AC03-76-SFO0515 with the Department of Energy */
11
/******************************************************************************/
12
13
#include <unistd.h>
14
15
#include "
XrdNet/XrdNet.hh
"
16
17
// The XrdInet class defines a generic network where we can define common
18
// initial tcp/ip and udp operations. It is based on the generalized network
19
// support framework. However, Accept and Connect have been augmented to
20
// provide for more scalable communications handling.
21
//
22
class
XrdOucTrace
;
23
class
XrdSysError
;
24
class
XrdNetSecurity
;
25
class
XrdLink
;
26
27
class
XrdInet
:
public
XrdNet
28
{
29
public
:
30
31
XrdLink
*
Accept
(
int
opts
=0,
int
timeout=-1);
32
33
XrdLink
*
Connect
(
const
char
*host,
int
port
,
int
opts
=0,
int
timeout=-1);
34
35
XrdInet
(
XrdSysError
*erp,
XrdOucTrace
*tP,
XrdNetSecurity
*secp=0)
36
:
XrdNet
(erp, secp),
XrdTrace
(tP) {}
37
~XrdInet
() {}
38
private
:
39
40
XrdOucTrace
*
XrdTrace
;
41
static
const
char
*
TraceID
;
42
};
43
#endif
Generated by
1.8.1.2