Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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