def __init__(self, network: NetRom, local_call: AX25Call, remote_call: AX25Call, circuit_id: int, origin_node: AX25Call, origin_user: AX25Call): Transport.__init__(self, extra={"peername": (str(remote_call), circuit_id)}) self.network = network self.remote_call = remote_call self.local_call = local_call self.circuit_id = circuit_id self.origin_node = origin_node self.origin_user = origin_user
def __init__(self, datalink: DataLinkManager, remote_call: AX25Call): Transport.__init__(self, extra={"peername": (str(remote_call), -1)}) self.datalink = datalink self.remote_call = remote_call