(link)
| 68 | |
| 69 | |
| 70 | def on_link_established(link): |
| 71 | print(f"[python] link established: {link.link_id.hex()}", flush=True) |
| 72 | link.set_resource_strategy(RNS.Link.ACCEPT_ALL) |
| 73 | link.set_resource_concluded_callback(on_resource_concluded) |
| 74 | state["link"] = link |
| 75 | |
| 76 | |
| 77 | def write_config(config_dir: str, port: int) -> None: |
nothing calls this directly
no test coverage detected