コード例 #1
0
 def get_payment_stream(self, msg):
   """Determine which PaymentStream should handle this message
   @param msg:  the message, reads the hexid off the front
   @type  msg:  str
   @returns:  PaymentStream"""
   hexId, msg = Basic.read_hexid(msg)
   return self.paymentStreams[hexId], msg
コード例 #2
0
 def get_payment_stream(self, msg):
     """Determine which PaymentStream should handle this message
 @param msg:  the message, reads the hexid off the front
 @type  msg:  str
 @returns:  PaymentStream"""
     hexId, msg = Basic.read_hexid(msg)
     return self.paymentStreams[hexId], msg