Package com.jme3.network.message
Class SerializerRegistrationsMessage
java.lang.Object
com.jme3.network.AbstractMessage
com.jme3.network.message.SerializerRegistrationsMessage
- All Implemented Interfaces:
 Message
Holds a compiled set of message registration information that
  can be sent over the wire.  The received message can then be
  used to register all of the classes using the same IDs and 
  same ordering, etcetera.  The intent is that the server compiles
  this message once it is sure that all serializable classes have
  been registered.  It can then send this to each new client, and
  they can use it to register all of the classes without requiring
  exactly reproducing the same calls that the server did to register
  messages.
  
Normally, JME recommends that apps have a common utility method that they call on both client and server. However, this makes pluggable services nearly impossible as some central class has to know about all registered serializers. This message implementation gets around by only requiring registration on the server.
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescription - 
Constructor Summary
ConstructorsConstructorDescriptionSerializerRegistrationsMessage(SerializerRegistrationsMessage.Registration... registrations)  - 
Method Summary
Methods inherited from class com.jme3.network.AbstractMessage
isReliable, setReliable 
- 
Field Details
- 
ignore
 - 
INSTANCE
 - 
compiled
 
 - 
 - 
Constructor Details
- 
SerializerRegistrationsMessage
public SerializerRegistrationsMessage() - 
SerializerRegistrationsMessage
 
 - 
 - 
Method Details
- 
compile
public static void compile() - 
registerAll
public void registerAll() 
 -