1.1 --- a/imiptools/client.py Sat Sep 12 18:15:26 2015 +0200
1.2 +++ b/imiptools/client.py Sat Sep 12 19:58:59 2015 +0200
1.3 @@ -37,6 +37,7 @@
1.4 "Common handler and manager methods."
1.5
1.6 default_window_size = 100
1.7 + organiser_methods = "ADD", "CANCEL", "DECLINECOUNTER", "PUBLISH", "REQUEST"
1.8
1.9 def __init__(self, user, messenger=None, store=None, publisher=None, preferences_dir=None):
1.10
1.11 @@ -279,6 +280,17 @@
1.12 self.sequence = obj and self.obj.get_value("SEQUENCE")
1.13 self.dtstamp = obj and self.obj.get_value("DTSTAMP")
1.14
1.15 + def set_identity(self, method):
1.16 +
1.17 + """
1.18 + Set the current user for the current object in the context of the given
1.19 + 'method'. It is usually set when initialising the handler, using the
1.20 + recipient details, but outgoing messages do not reference the recipient
1.21 + in this way.
1.22 + """
1.23 +
1.24 + pass
1.25 +
1.26 def is_usable(self, method=None):
1.27
1.28 "Return whether the current object is usable with the given 'method'."