}
protected void channelDisconnected(SyncException why) {
ready = false;
connectionGeneration += 1;
if (why == null) why = new RemoteStoreException("Channel disconnected");
for (RemoteSyncFuture f : futureMap.values()) {
if (f.getConnectionGeneration() < connectionGeneration)
dispatchReply(f.getXid(),
new SyncReply(null, null, false, why, 0));
}