Initialize a UdpBridgeApp instance with its dependencies.
Wires the internal static vtable into ptApp->tRoot.ptApi, stores ptUdp and ptBroker, stores the failure handler and user data into ptApp->tRoot, and verifies that no required pointer is NULL. Must be called before any lifecycle function.
The UDP socket is opened by the composition root (main.cpp) via JunoUdp_LinuxInit before the thread starts; OnStart does not re-open it.
- Parameters
-
| ptApp | Caller-owned app instance storage; must be non-NULL. |
| ptUdp | UDP module root (receiver role); must be non-NULL and must outlive ptApp. |
| ptBroker | Thread 2's software-bus broker root; must be non-NULL and must outlive ptApp. |
| pfcnFailureHandler | Diagnostic callback invoked before any error return; may be NULL. |
| pvFailureUserData | Opaque pointer threaded to pfcnFailureHandler; may be NULL. |
- Returns
JUNO_STATUS_SUCCESS on success; JUNO_STATUS_NULLPTR_ERROR if any required pointer is NULL.