OSCReceiver Implementation

Hello everybody, I am pretty new to Juce (and I love it) but some things appears strange to me.
why OSCSender and OSCReceiver are implemented so differently, in the terms that:
Instead of declaring an OSCSender object as a member like in the sender application, we inherit this time from OSCReceiver to implement the MainContentComponent as a subclass"