use of com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable in project dubbo by alibaba.
the class ConnectionOrderedChannelHandler method connected.
public void connected(Channel channel) throws RemotingException {
try {
checkQueueLength();
connectionExecutor.execute(new ChannelEventRunnable(channel, handler, ChannelState.CONNECTED));
} catch (Throwable t) {
throw new ExecutionException("connect event", channel, getClass() + " error when process connected event .", t);
}
}
use of com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable in project dubbo by alibaba.
the class ConnectionOrderedChannelHandler method disconnected.
public void disconnected(Channel channel) throws RemotingException {
try {
checkQueueLength();
connectionExecutor.execute(new ChannelEventRunnable(channel, handler, ChannelState.DISCONNECTED));
} catch (Throwable t) {
throw new ExecutionException("disconnected event", channel, getClass() + " error when process disconnected event .", t);
}
}
Aggregations