クラス LocatorChannel
java.lang.Object
org.piax.gtrans.netty.idtrans.LocatorChannel
public class LocatorChannel extends Object
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static classLocatorChannel.Stat -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 LocatorChannel(IdChannelTransport trans)LocatorChannel(NettyLocator remote, IdChannelTransport trans) -
メソッドの概要
修飾子とタイプ メソッド 説明 CompletableFuture<Boolean>closeAsync(boolean force)IntegergetAttempt()io.netty.channel.ChannelgetChannel()intgetChannelNo()io.netty.channel.ChannelgetNettyChannel()PeerIdgetPeerId()PrimaryKeygetPrimaryKey()NettyLocatorgetRemote()LocatorChannel.StatgetStat()booleanisClosed()voidsend(Object msg)io.netty.channel.ChannelFuturesendAsync(Object msg)voidsetAttempt(int r)voidsetChannel(io.netty.channel.Channel channel)voidsetNettyChannel(io.netty.channel.Channel channel)voidsetPrimaryKey(PrimaryKey key)voidsetStat(LocatorChannel.Stat stat)voidtouch()voidunsetAttempt()voiduse()
-
コンストラクタの詳細
-
メソッドの詳細
-
setPrimaryKey
-
getPrimaryKey
-
use
public void use() -
setNettyChannel
public void setNettyChannel(io.netty.channel.Channel channel) -
getNettyChannel
public io.netty.channel.Channel getNettyChannel() -
getPeerId
-
touch
public void touch() -
closeAsync
-
isClosed
public boolean isClosed() -
getChannelNo
public int getChannelNo() -
getRemote
-
setAttempt
public void setAttempt(int r) -
getAttempt
-
unsetAttempt
public void unsetAttempt() -
setStat
-
getStat
-
setChannel
public void setChannel(io.netty.channel.Channel channel) -
getChannel
public io.netty.channel.Channel getChannel() -
send
- 例外:
IOException
-
sendAsync
- 例外:
IOException
-