Revert "removed useless code for the indirect receive callbacks".

This reverts commit aafe9be75b56d977f9c02f60fe860170fde1896f.