|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectcom.jme3.network.kernel.tcp.NioEndpoint
public class NioEndpoint
Endpoint implementation that encapsulates the channel IO based connection information and keeps track of the outbound data queue for the channel.
| コンストラクタの概要 | |
|---|---|
NioEndpoint(SelectorKernel kernel,
long id,
java.nio.channels.SocketChannel socket)
|
|
| メソッドの概要 | |
|---|---|
void |
close()
Closes this endpoint without flushing any of its currently enqueued outbound data. |
void |
close(boolean flushData)
Closes this endpoint, optionally flushing any queued data before closing. |
java.lang.String |
getAddress()
Returns the transport specific remote address of this endpoint as a string. |
long |
getId()
Returns an ID that is unique for this endpoint within its Kernel instance. |
Kernel |
getKernel()
Returns the kernel to which this endpoint belongs. |
boolean |
isConnected()
Returns true if this endpoint is currently connected. |
void |
send(java.nio.ByteBuffer data)
Sends data to the other end of the connection represented by this endpoint. |
java.lang.String |
toString()
|
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public NioEndpoint(SelectorKernel kernel,
long id,
java.nio.channels.SocketChannel socket)
| メソッドの詳細 |
|---|
public Kernel getKernel()
Endpoint の記述:
Endpoint 内の getKernelpublic void close()
Endpoint の記述:
Endpoint 内の closepublic void close(boolean flushData)
Endpoint の記述:
Endpoint 内の closepublic long getId()
Endpoint の記述:
Endpoint 内の getIdpublic java.lang.String getAddress()
Endpoint の記述:
Endpoint 内の getAddresspublic boolean isConnected()
Endpoint の記述:
Endpoint 内の isConnectedpublic void send(java.nio.ByteBuffer data)
Endpoint の記述:
Endpoint 内の sendpublic java.lang.String toString()
java.lang.Object 内の toString
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||