Dolda2000 GitWeb
/
pdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
73c1ef8
)
Improved documentation.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 23 Dec 2011 01:01:27 +0000
(
02:01
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 23 Dec 2011 01:01:27 +0000
(
02:01
+0100)
pdm/cli.py
patch
|
blob
|
blame
|
history
diff --git
a/pdm/cli.py
b/pdm/cli.py
index
81246b7
..
46276be
100644
(file)
--- a/
pdm/cli.py
+++ b/
pdm/cli.py
@@
-1,7
+1,9
@@
-"""
Management for daemon processe
s
+"""
Python Daemon Management -- Client function
s
-This module provides some client support for the daemon management
-provided in the pdm.srv module.
+This module implements the client part of the PDM protocols. The
+primary objects of interest are the replclient and perfclient classes,
+which implement support for their respective protocols. See their
+documentation for details.
"""
import socket, pickle, struct, select, threading
"""
import socket, pickle, struct, select, threading
@@
-313,6
+315,11
@@
class perfclient(client):
of the slash. For instance, find("pdm.perf.sysres/cputime")
will return the built-in attribute for reading the CPU time
used by the server process.
of the slash. For instance, find("pdm.perf.sysres/cputime")
will return the built-in attribute for reading the CPU time
used by the server process.
+
+ The proxy objects returned by this function are cached and the
+ same object are returned the next time the same name is
+ requested, which means that they are kept live until the
+ client connection is closed.
"""
ret = self.names.get(name)
if ret is None:
"""
ret = self.names.get(name)
if ret is None: