Пример #1
0
 def dispatch_message(self, content):
     try:
         if 'oid' in content:
             o = EOffer.from_data(content)
             self.register_their_offer(o)
         elif 'pid' in content:
             self.dispatch_exchange_proposal(content)
     except Exception as e:
         raise
Пример #2
0
 def dispatch_message(self, content):
     try:
         if 'oid' in content:
             o = EOffer.from_data(content)
             self.register_their_offer(o)
         elif 'pid' in content:
             self.dispatch_exchange_proposal(content)
     except Exception as e:
         raise
Пример #3
0
 def dispatch_message(self, content):
     try:
         if 'oid' in content:
             o = EOffer.from_data(content)
             self.register_their_offer(o)
         elif 'pid' in content:
             self.dispatch_exchange_proposal(content)
     except Exception as e:
         LOGERROR("got exception %s when dispatching a message", e)
         raise
Пример #4
0
 def dispatch_message(self, content):
     try:
         if 'oid' in content:
             o = EOffer.from_data(content)
             self.register_their_offer(o)
         elif 'pid' in content:
             self.dispatch_exchange_proposal(content)
     except Exception as e:
         LOGERROR("got exception %s when dispatching a message", e)
         raise