Hi,
If you check at the applications implemented in the /src/applications (either traffic generators or source), you will notice that they are simply creating Tcp/Udp sockets to send/receive packets. There is no limitation either (a) the number of sockets or (b) from where packets reach that socket.
That's the point generally of having this layering, each layer communicates with the corresponding layer in the other side.
Having said that, the application should be oblivient to the underlying connections. Therefore, it should not notice the switch.
Though, if you want to pass that information, e.g. from which net device did I receive that packet, is it Wifi or LTE, you should create the corresponding information flow. In NS-3 this can be easily be achieved either with callbacks or by tagging packets.