Пример #1
0
 def __init__(self, message):
     super(ConnectResponseInstance, self).__init__(message)
     message_body = message[12:]
     self.raw_status = message_body[0:1]
     self.status, = Unpack.get_unsigned_char_data(self.raw_status)
     self.authenticator_ISMG = message_body[1:17]
     self.version, = Unpack.get_unsigned_char_data(message_body[17:18])
Пример #2
0
 def __init__(self, message):
     super(SubmitResponseInstance, self).__init__(message)
     message_body = message[12:]
     self.msg_id, = Unpack.get_unsigned_long_long_data(message_body[0:8])
     self.status, = Unpack.get_unsigned_char_data(message_body[8:9])