0 Replies Latest reply on Jan 8, 2007 3:25 AM by Statikbuzz

    Custom Object Serialization

    Statikbuzz
      Lets presume that we have a class with signature:

      [RemoteClass(alias="server.invoke.SimpleObject")]
      public class SimpleObject implements IExternalizable

      with custom writeExternal and readExternal methods implemented.

      Now one would presume that when ever these objects are sent over network, they are serialized using the methods from IExternalizable. However, when sending them using NetConnection#call and receiving with Responder, simple traces show that writeExtrernal and readExternal are not even called.

      This means that I'm missing custom serialization of all private properties that is needed for sending custom object hierarchies over AMF.

      Or is IExternalizable only supported when using FDS, but not when connecting to FMS / Red5?

      I've tried both AMF0 and AMF3