return ConnectionInfoLookupResponse.createReceiverFoundAndReady(edge.getInputChannelId());
}
else {
// Receiver runs on a different task manager
final InstanceConnectionInfo ici = location.getInstanceConnectionInfo();
final InetSocketAddress isa = new InetSocketAddress(ici.address(), ici.dataPort());
final int connectionIdx = edge.getSource().getIntermediateResult().getConnectionIndex();
return ConnectionInfoLookupResponse.createReceiverFoundAndReady(new RemoteReceiver(isa, connectionIdx));
}
}