S7G2 - Best way to implement a network connection handler using NETX for LAN, WiFi and GSM

In our hardware solution using the S7G2, our main application needs to connect to a server to regular upload data. It can do so either via GSM, WiFi or wired ethernet.

For the GSM modem, its a module, so we use AT commands.

For the WiFi, we have our own plug-in module with an MCU talking to the WiFi module. This plug-in module can be controlled from the main board via our own UART interface. 

We need a connection handler of sorts to manage the 3 possible connections. The application will only talk on one connection at a given time, but has rules and priorities to switch between connections. Can we use NetX in some way to handle these 3 connections?