Class SerializerRegistration
java.lang.Object
com.jme3.network.serializing.SerializerRegistration
A SerializerRegistration represents a connection between a class, and
its serializer. It also includes the class ID, as a short.
- Author:
- Lars Wesselius
-
Constructor Summary
ConstructorsConstructorDescriptionSerializerRegistration(Serializer serializer, Class cls, short id) Creates a serializer registration. -
Method Summary
-
Constructor Details
-
SerializerRegistration
Creates a serializer registration.- Parameters:
serializer- the serializer instancecls- the registered typeid- the serializer id
-
-
Method Details
-
getSerializer
-
getId
public short getId()Get the ID.- Returns:
- The ID.
-
getType
-
toString
-