|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface HostedConnection
This is the connection back to a client that is being hosted in a server instance.
メソッドの概要 | ||
---|---|---|
java.util.Set<java.lang.String> |
attributeNames()
Returns a read-only set of attribute names currently stored for this client session. |
|
void |
close(java.lang.String reason)
Closes and removes this connection from the server sending the optional reason to the remote client. |
|
java.lang.String |
getAddress()
Returns the transport specific remote address of this connection as a string. |
|
|
getAttribute(java.lang.String name)
Retrieves a previosly stored session attribute or null if no such attribute exists. |
|
int |
getId()
Returns the server-unique ID for this client. |
|
Server |
getServer()
Returns the Server instance that is hosting this connection. |
|
java.lang.Object |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets a session attribute specific to this connection. |
インタフェース com.jme3.network.MessageConnection から継承されたメソッド |
---|
send |
メソッドの詳細 |
---|
Server getServer()
int getId()
java.lang.String getAddress()
void close(java.lang.String reason)
java.lang.Object setAttribute(java.lang.String name, java.lang.Object value)
<T> T getAttribute(java.lang.String name)
java.util.Set<java.lang.String> attributeNames()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |