Package com.jme3.network.message
Class ClientRegistrationMessage
java.lang.Object
com.jme3.network.AbstractMessage
com.jme3.network.message.ClientRegistrationMessage
- All Implemented Interfaces:
- Message
Client registration is a message that contains a unique ID. This ID
  is simply the current time in milliseconds, providing multiple clients
  will not connect to the same server within one millisecond. This is used
  to couple the TCP and UDP connections together into one 'Client' on the
  server.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA message-specific serializer to avoid compatibility issues between versions.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlonggetId()intvoidsetGameName(String name) voidsetId(long id) voidsetVersion(int version) toString()Methods inherited from class com.jme3.network.AbstractMessageisReliable, setReliable
- 
Field Details- 
SERIALIZER_IDpublic static final short SERIALIZER_ID- See Also:
 
 
- 
- 
Constructor Details- 
ClientRegistrationMessagepublic ClientRegistrationMessage()
 
- 
- 
Method Details