create ReceiveHandler.