I'm reading the UDP vs TCP section of the SpiderMonkey docs.
It shows a
setReliable(boolean) method on some messages like so:
message1.setReliable(true); // TCP
message2.setReliable(false); // UDP
What classes are
message2 instances of? My understanding was that, in SpiderMonkey, messages are just classes w/ no-arg constructors and which are annotated with
com.jme3.network.serializing.Serializable. But that doesn't force any API/contract on the message objects.
So am I supposed to have my messages extends some base "message class"? If not where does that
setReliable(boolean) method come from?