This is a generally-useful idiom, extending the sendReply() convenience function -- it shouldn't remain buried in a single .cpp file.