summaryrefslogtreecommitdiff
path: root/src/leap/common/events/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/common/events/client.py')
-rw-r--r--src/leap/common/events/client.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/leap/common/events/client.py b/src/leap/common/events/client.py
index 55f14ab..4ae9bff 100644
--- a/src/leap/common/events/client.py
+++ b/src/leap/common/events/client.py
@@ -102,7 +102,7 @@ def register(signal, callback, uid=None, replace=False, reqcbk=None,
:type replace: bool
:param reqcbk: a callback to be called when a response from server is
received
- :type reqcbk: function(leap.common.events.events_pb2.EventResponse)
+ :type reqcbk: function(proto.RegisterRequest, proto.EventResponse)
:param timeout: the timeout for synch calls
:type timeout: int
@@ -152,7 +152,7 @@ def unregister(signal, uid=None, reqcbk=None, timeout=1000):
:type uid: int
:param reqcbk: a callback to be called when a response from server is
received
- :type reqcbk: function(leap.common.events.events_pb2.EventResponse)
+ :type reqcbk: function(proto.UnregisterRequest, proto.EventResponse)
:param timeout: the timeout for synch calls
:type timeout: int
@@ -211,7 +211,7 @@ def signal(signal, content="", mac_method="", mac="", reqcbk=None,
:type mac: str
:param reqcbk: a callback to be called when a response from server is
received
- :type reqcbk: function(leap.common.events.events_pb2.EventResponse)
+ :type reqcbk: function(proto.SignalRequest, proto.EventResponse)
:param timeout: the timeout for synch calls
:type timeout: int
@@ -238,7 +238,7 @@ def ping(port, reqcbk=None, timeout=1000):
:type port: int
:param reqcbk: a callback to be called when a response from client is
received
- :type reqcbk: function(leap.common.events.events_pb2.EventResponse)
+ :type reqcbk: function(proto.PingRequest, proto.EventResponse)
:param timeout: the timeout for synch calls
:type timeout: int