Dolda2000 GitWeb
/
pdm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved documentation.
[pdm.git]
/
pdm
/
cli.py
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: