パッケージ org.piax.gtrans.raw
クラス RawChannel<E extends PeerLocator>
java.lang.Object
org.piax.gtrans.raw.RawChannel<E>
- すべての実装されたインタフェース:
Channel<E>
- 直系の既知のサブクラス:
LWTcpChannel
public abstract class RawChannel<E extends PeerLocator> extends Object implements Channel<E>
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 protected booleanisActive -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 RawChannel() -
メソッドの概要
修飾子とタイプ メソッド 説明 voidclose()RawChannelをcloseする。abstract intgetChannelNo()EgetLocal()ObjectIdgetLocalObjectId()abstract EgetRemote()RawChannelの相手側のPeerLocatorを取得する。ObjectIdgetRemoteObjectId()TransportIdgetTransportId()booleanisClosed()abstract booleanisCreatorSide()booleanisDuplex()protected voidputReceiveQueue(Object msg)Objectreceive()Objectreceive(int timeout)voidsend(Object msg)abstract voidsend(ByteBuffer bbuf)
-
フィールド詳細
-
isActive
protected volatile boolean isActive
-
-
コンストラクタの詳細
-
RawChannel
public RawChannel()
-
-
メソッドの詳細
-
close
public void close()RawChannelをcloseする。 尚、すでにcloseされたRawChannelを再びcloseしても問題は起こらない。- 定義:
closeインタフェース内Channel<E extends PeerLocator>
-
isClosed
public boolean isClosed()- 定義:
isClosedインタフェース内Channel<E extends PeerLocator>
-
getChannelNo
public abstract int getChannelNo()- 定義:
getChannelNoインタフェース内Channel<E extends PeerLocator>
-
getRemote
RawChannelの相手側のPeerLocatorを取得する。- 定義:
getRemoteインタフェース内Channel<E extends PeerLocator>- 戻り値:
- RawChannelの相手側のPeerLocator
-
isCreatorSide
public abstract boolean isCreatorSide()- 定義:
isCreatorSideインタフェース内Channel<E extends PeerLocator>
-
send
- 例外:
IOException
-
send
- 定義:
sendインタフェース内Channel<E extends PeerLocator>- 例外:
IOException
-
putReceiveQueue
-
receive
- 定義:
receiveインタフェース内Channel<E extends PeerLocator>
-
receive
- 定義:
receiveインタフェース内Channel<E extends PeerLocator>- 例外:
NetworkTimeoutException
-
getTransportId
- 定義:
getTransportIdインタフェース内Channel<E extends PeerLocator>
-
getLocal
- 定義:
getLocalインタフェース内Channel<E extends PeerLocator>
-
getLocalObjectId
- 定義:
getLocalObjectIdインタフェース内Channel<E extends PeerLocator>
-
getRemoteObjectId
- 定義:
getRemoteObjectIdインタフェース内Channel<E extends PeerLocator>
-
isDuplex
public boolean isDuplex()- 定義:
isDuplexインタフェース内Channel<E extends PeerLocator>
-