def fromProtocolTreeNode(node):
     entity = NotificationProtocolEntity.fromProtocolTreeNode(node)
     entity.__class__ = EncryptNotification
     #print("FROM PROTOCOL TREE NODE")
     #print(node)
     #print(node.getChild("count")["value"])
     #entity.setProps(node.getChild("count")["value"])
     return entity
 def fromProtocolTreeNode(node):
     entity = NotificationProtocolEntity.fromProtocolTreeNode(node)
     entity.__class__ = IdentityChangeEncryptNotification
     return entity
 def fromProtocolTreeNode(node):
     entity = NotificationProtocolEntity.fromProtocolTreeNode(node)
     entity.__class__ = ContactNotificationProtocolEntity
     return entity
 def fromProtocolTreeNode(node):
     entity = NotificationProtocolEntity.fromProtocolTreeNode(node)
     entity.__class__ = EncryptNotification
     #entity.setProps(node.getChild("count")["value"])
     return entity
Exemple #5
0
 def fromProtocolTreeNode(node):
     entity = NotificationProtocolEntity.fromProtocolTreeNode(node)
     entity.__class__ = ContactNotificationProtocolEntity
     return entity
 def fromProtocolTreeNode(node):
     entity = NotificationProtocolEntity.fromProtocolTreeNode(node)
     entity.__class__ = EncryptNotification
     entity.setProps(node.getChild("count")["value"])
     return entity
 def fromProtocolTreeNode(node):
     entity = NotificationProtocolEntity.fromProtocolTreeNode(node)
     entity.__class__ = GroupsNotificationProtocolEntity
     entity.setParticipant(node.getAttributeValue("participant"))
     return entity
 def fromProtocolTreeNode(node):
     entity = NotificationProtocolEntity.fromProtocolTreeNode(node)
     entity.__class__ = RequestKeysEncryptNotification
     entity.count = node.getChild("count")["value"]
     return entity
 def fromProtocolTreeNode(node):
     entity = NotificationProtocolEntity.fromProtocolTreeNode(node)
     entity.__class__ = IdentityChangeEncryptNotification
     return entity
 def fromProtocolTreeNode(node):
     entity = NotificationProtocolEntity.fromProtocolTreeNode(node)
     entity.__class__ = GroupsNotificationProtocolEntity
     entity.setParticipant(node.getAttributeValue("participant"))
     return entity