Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZEO
Commits
f76cde1a
Commit
f76cde1a
authored
Sep 08, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add update() method to ClientStorage. Formerly known as sync().
parent
2c7a85f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
src/ZEO/ClientStorage.py
src/ZEO/ClientStorage.py
+5
-1
src/ZEO/ServerStub.py
src/ZEO/ServerStub.py
+3
-0
No files found.
src/ZEO/ClientStorage.py
View file @
f76cde1a
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""Network ZODB storage client
$Id: ClientStorage.py,v 1.5
4 2002/08/28 21:17:30 gvanrossum
Exp $
$Id: ClientStorage.py,v 1.5
5 2002/09/08 00:20:20 jeremy
Exp $
"""
# XXX TO DO
...
...
@@ -171,6 +171,10 @@ class ClientStorage:
else
:
return
1
def
update
(
self
):
"""Handle any pending invalidation messages."""
self
.
_server
.
_update
()
def
notifyConnected
(
self
,
conn
):
log2
(
INFO
,
"Connected to storage via %s"
%
repr
(
conn
))
...
...
src/ZEO/ServerStub.py
View file @
f76cde1a
...
...
@@ -18,6 +18,9 @@ class StorageServer:
def
__init__
(
self
,
rpc
):
self
.
rpc
=
rpc
def
_update
(
self
):
self
.
rpc
.
pending
()
def
register
(
self
,
storage_name
,
read_only
):
self
.
rpc
.
call
(
'register'
,
storage_name
,
read_only
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment