com.jme3.network.message
クラス ClientRegistrationMessage
java.lang.Object
com.jme3.network.AbstractMessage
com.jme3.network.message.Message
com.jme3.network.message.ClientRegistrationMessage
- すべての実装されたインタフェース:
- Message
public class ClientRegistrationMessage
- extends 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.
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientRegistrationMessage
public ClientRegistrationMessage()
getId
public long getId()
setId
public void setId(long id)
setGameName
public void setGameName(java.lang.String name)
getGameName
public java.lang.String getGameName()
setVersion
public void setVersion(int version)
getVersion
public int getVersion()