mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 22:32:23 +00:00
upload_permitted in IServer
This commit is contained in:
parent
c0f0d76563
commit
026bcca6c5
@ -470,6 +470,12 @@ class IServer(IDisplayableServer):
|
|||||||
once the connection is lost.
|
once the connection is lost.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def upload_permitted():
|
||||||
|
"""
|
||||||
|
:return: True if we should use this server for uploads, False
|
||||||
|
otherwise.
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
class IMutableSlotWriter(Interface):
|
class IMutableSlotWriter(Interface):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user