BOSS
7.1.2
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
XmlRpcSource.cpp
Go to the documentation of this file.
1
2
#include "
XmlRpcSource.h
"
3
#include "
XmlRpcSocket.h
"
4
#include "
XmlRpcUtil.h
"
5
6
namespace
XmlRpc
{
7
8
9
XmlRpcSource::XmlRpcSource
(
int
fd
/*= -1*/
,
bool
deleteOnClose
/*= false*/
)
10
: _fd(fd), _deleteOnClose(deleteOnClose), _keepOpen(
false
)
11
{
12
}
9
XmlRpcSource::XmlRpcSource
(
int
fd
/*= -1*/
,
bool
deleteOnClose
/*= false*/
) {
…
}
13
14
XmlRpcSource::~XmlRpcSource
()
15
{
16
}
14
XmlRpcSource::~XmlRpcSource
() {
…
}
17
18
19
void
20
XmlRpcSource::close
()
21
{
22
if
(_fd != -1) {
23
XmlRpcUtil::log
(2,
"XmlRpcSource::close: closing socket %d."
, _fd);
24
XmlRpcSocket::close
(_fd);
25
XmlRpcUtil::log
(2,
"XmlRpcSource::close: done closing socket %d."
, _fd);
26
_fd = -1;
27
}
28
if
(_deleteOnClose) {
29
XmlRpcUtil::log
(2,
"XmlRpcSource::close: deleting this"
);
30
_deleteOnClose =
false
;
31
delete
this
;
32
}
33
}
20
XmlRpcSource::close
() {
…
}
34
35
}
// namespace XmlRpc
false
#define false
Definition
BesCxxPolicy/BesCxxPolicy-00-02-00/CxxFeatures/config.h:22
XmlRpcSocket.h
XmlRpcSource.h
XmlRpcUtil.h
XmlRpc::XmlRpcSocket::close
static void close(int socket)
Closes a socket.
Definition
XmlRpcSocket.cpp:76
XmlRpc::XmlRpcSource::close
virtual void close()
Close the owned fd. If deleteOnClose was specified at construction, the object is deleted.
Definition
XmlRpcSource.cpp:20
XmlRpc::XmlRpcSource::~XmlRpcSource
virtual ~XmlRpcSource()
Destructor.
Definition
XmlRpcSource.cpp:14
XmlRpc::XmlRpcSource::XmlRpcSource
XmlRpcSource(int fd=-1, bool deleteOnClose=false)
Definition
XmlRpcSource.cpp:9
XmlRpc::XmlRpcUtil::log
static void log(int level, const char *fmt,...)
Dump messages somewhere.
Definition
XmlRpcUtil.cpp:71
XmlRpc
Definition
XmlRpc.h:35
7.1.2
Utilities
JobInfoSvc
JobInfoSvc-00-01-00
xmlrpc++0.7
src
XmlRpcSource.cpp
Generated by
1.12.0