How to read ipc-client stream data in java appium

I want to automate the screen based on the data flowing through the ipc client. I need help understanding how can i read the data from IPC-client. In my case the ipc-client data keeps on updating on every 2sec