Mercurial > libervia-backend
comparison src/core/sat_main.py @ 1592:d6d655238a93
bridge: new core method profileStartSession to start a session without connecting the profile
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 14 Nov 2015 19:18:10 +0100 |
parents | 0df9c6247474 |
children | a3d0cfa5b7a6 |
comparison
equal
deleted
inserted
replaced
1591:0df9c6247474 | 1592:d6d655238a93 |
---|---|
72 self.bridge.register("getProfilesList", self.memory.getProfilesList) | 72 self.bridge.register("getProfilesList", self.memory.getProfilesList) |
73 self.bridge.register("getEntityData", lambda jid_, keys, profile: self.memory.getEntityData(jid.JID(jid_), keys, profile)) | 73 self.bridge.register("getEntityData", lambda jid_, keys, profile: self.memory.getEntityData(jid.JID(jid_), keys, profile)) |
74 self.bridge.register("getEntitiesData", self.memory._getEntitiesData) | 74 self.bridge.register("getEntitiesData", self.memory._getEntitiesData) |
75 self.bridge.register("asyncCreateProfile", self.memory.asyncCreateProfile) | 75 self.bridge.register("asyncCreateProfile", self.memory.asyncCreateProfile) |
76 self.bridge.register("asyncDeleteProfile", self.memory.asyncDeleteProfile) | 76 self.bridge.register("asyncDeleteProfile", self.memory.asyncDeleteProfile) |
77 self.bridge.register("profileStartSession", self.memory._startSession) | |
78 self.bridge.register("profileIsSessionStarted", self.memory._isSessionStarted) | |
77 self.bridge.register("asyncConnect", self._asyncConnect) | 79 self.bridge.register("asyncConnect", self._asyncConnect) |
78 self.bridge.register("disconnect", self.disconnect) | 80 self.bridge.register("disconnect", self.disconnect) |
79 self.bridge.register("getContacts", self.getContacts) | 81 self.bridge.register("getContacts", self.getContacts) |
80 self.bridge.register("getContactsFromGroup", self.getContactsFromGroup) | 82 self.bridge.register("getContactsFromGroup", self.getContactsFromGroup) |
81 self.bridge.register("getMainResource", self.memory._getMainResource) | 83 self.bridge.register("getMainResource", self.memory._getMainResource) |