(cls, name: str)
| 108 | |
| 109 | @classmethod |
| 110 | def get_endpoint(cls, name: str) -> Endpoint: |
| 111 | # Retrieve endpoint object |
| 112 | if name in cls.config.endpoints: |
| 113 | return cls.config.endpoints[name] |
| 114 | |
| 115 | # Fallback: auto-generate endpoint |
| 116 | address = f"{cls.config.ipc_root}/fmq_{name}.ipc" |
| 117 | return Endpoint(protocol="ipc", address=address) |
| 118 | |
| 119 | |
| 120 | # ========================== |