本文整理了Java中org.jboss.netty.channel.Channels.fireChannelInterestChanged()
方法的一些代码示例,展示了Channels.fireChannelInterestChanged()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Channels.fireChannelInterestChanged()
方法的具体详情如下:
包路径:org.jboss.netty.channel.Channels
类名称:Channels
方法名:fireChannelInterestChanged
[英]Sends a "channelInterestChanged" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
[中]将“channelInterestChanged”事件发送到指定通道的ChannelPipeline中的第一个ChannelUpstreamHandler。
代码示例来源:origin: io.netty/netty
@Override
public void channelInterestChanged(ChannelHandlerContext ctx,
ChannelStateEvent e) throws Exception {
fireChannelInterestChanged(virtualChannel);
}
代码示例来源:origin: io.netty/netty
if (changed) {
if (iothread) {
fireChannelInterestChanged(channel);
} else {
fireChannelInterestChangedLater(channel);
fireChannelInterestChanged(channel);
代码示例来源:origin: io.netty/netty
fireChannelInterestChanged(channel);
} else {
fireChannelInterestChangedLater(channel);
代码示例来源:origin: io.netty/netty
public void run() {
fireChannelInterestChanged(channel);
}
});
代码示例来源:origin: k3po/k3po
if (!readable) {
httpClientChannel.setReadable(true);
fireChannelInterestChanged(httpClientChannel);
if (!readable) {
httpClientChannel.setReadable(true);
fireChannelInterestChanged(httpClientChannel);
内容来源于网络,如有侵权,请联系作者删除!