def generate_response(self, request): return buffer(request, 0, 4) + (buffer(_s_ulong.pack(ms_time(self.epoch_time()))) + buffer(request, 8))
def generate_response(self, request): return (buffer(request, 0, 4) + (buffer(_s_ulong.pack(ms_time(self.epoch_time()))) + buffer(request, 8)))
def generate_request(self, context=None): return _s_ts_simpver.pack(ms_time(self.epoch_time()), 0) + generate_random_bytes(self.packet_bytes - 8)
def generate_request(self, context=None): return (_s_ts_simpver.pack(ms_time(self.epoch_time()), 0) + generate_random_bytes(self.packet_bytes - 8))