|
||||||||||
前 次 | フレームあり フレームなし |
Server を使用しているパッケージ | |
---|---|
com.jme3.network | The network package contains the public API for the jME3 SpiderMonkey networking module. |
com.jme3.network.base | The base package contains the default implementations for the
Client and Server
interfaces from the public API. |
com.jme3.network.rmi |
com.jme3.network での Server の使用 |
---|
Server を返す com.jme3.network のメソッド | |
---|---|
static Server |
Network.createServer(int port)
Creates a Server that will utilize both reliable and fast transports to communicate with clients. |
static Server |
Network.createServer(int tcpPort,
int udpPort)
Creates a Server that will utilize both reliable and fast transports to communicate with clients. |
static Server |
Network.createServer(java.lang.String gameName,
int version,
int tcpPort,
int udpPort)
Creates a named and versioned Server that will utilize both reliable and fast transports to communicate with clients. |
Server |
HostedConnection.getServer()
Returns the Server instance that is hosting this connection. |
Server 型のパラメータを持つ com.jme3.network のメソッド | |
---|---|
void |
ConnectionListener.connectionAdded(Server server,
HostedConnection conn)
Called when a connection has been added to the specified server and is fully setup. |
void |
ConnectionListener.connectionRemoved(Server server,
HostedConnection conn)
Called when a connection has been removed from the specified server. |
com.jme3.network.base での Server の使用 |
---|
Server を実装している com.jme3.network.base のクラス | |
---|---|
class |
DefaultServer
A default implementation of the Server interface that delegates its network connectivity to kernel.Kernel. |
com.jme3.network.rmi での Server の使用 |
---|
Server 型のパラメータを持つ com.jme3.network.rmi のメソッド | |
---|---|
void |
ObjectStore.ServerEventHandler.connectionAdded(Server server,
HostedConnection conn)
|
void |
ObjectStore.ServerEventHandler.connectionRemoved(Server server,
HostedConnection conn)
|
Server 型のパラメータを持つ com.jme3.network.rmi のコンストラクタ | |
---|---|
ObjectStore(Server server)
|
|
||||||||||
前 次 | フレームあり フレームなし |