'Returns a new Transaction containing the given PDUs suitable for
transmission.'

def _transaction_from_pdus(self, pdu_list):

    time_now = self._clock.time_msec()
    pdus = [p.get_pdu_json(time_now) for p in pdu_list]
    return Transaction(origin=self.server_name, pdus=pdus, origin_server_ts=int(time_now), destination=None)
