|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface Endpoint
An abstract endpoint in a Kernel that can be used for sending/receiving messages within the kernel space.
メソッドの概要 | |
---|---|
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. |
メソッドの詳細 |
---|
long getId()
java.lang.String getAddress()
Kernel getKernel()
boolean isConnected()
void send(java.nio.ByteBuffer data)
void close()
void close(boolean flushData)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |