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.


コンストラクタの概要
ClientRegistrationMessage()
           
 
メソッドの概要
 java.lang.String getGameName()
           
 long getId()
           
 int getVersion()
           
 void setGameName(java.lang.String name)
           
 void setId(long id)
           
 void setVersion(int version)
           
 
クラス com.jme3.network.message.Message から継承されたメソッド
getClient, getConnection, isReliable, setClient, setConnection, setReliable
 
クラス 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()