Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
Docs Required
Description
The network component is currently only able to serialize objects that either extend the NetworkMesssage interface or that belong to a predefined set of types, like strings, primitives and different collections. This is inconvenient, because messages might contain other objects as their properties, which might not extend NetworkMessage.
It is proposed to update the current serialization infrastructure to use the new @Transferrable annotation to generate serialization classes and to decouple it from the NetworkMessage interface in order to use it for arbitrary objects that satisfy the same contract as the current serializable message do.