Class SerializerRegistration

java.lang.Object
com.jme3.network.serializing.SerializerRegistration

public final class SerializerRegistration extends Object
A SerializerRegistration represents a connection between a class, and its serializer. It also includes the class ID, as a short.
  • Constructor Details

    • SerializerRegistration

      public SerializerRegistration(Serializer serializer, Class cls, short id)
  • Method Details

    • getSerializer

      public Serializer getSerializer()
      Get the serializer.
      Returns:
      The serializer.
    • getId

      public short getId()
      Get the ID.
      Returns:
      The ID.
    • getType

      public Class getType()
      Get the class type.
      Returns:
      The class type.
    • toString

      public String toString()
      Overrides:
      toString in class Object