How can I transfer data from monitor to test sequence

I have a simple register read/write agent, allows to interface with a design block thru bus interface…
I want to read the received data on the bus on a read in my testcase, do modify and write back…
Let me know how can I pass the monitor data to test sequence

In reply to kvenkatv:

Use the p_sequencer handle to send the read_data back to test_sequence.

Please place an example code…

In reply to kvenkatv:

Do you really Need to Transfer data from the Monitor to the sequence? Or could you send back a Response from the Driver to the sequencer/sequence? There is a well-defined way to do this.
Find here the Details:
https://verificationacademy.com/cookbook/driver/bidirectional