Implementing cccam client with Java like programming language



I found following github proj.

There it send username, password to the server and finally send 'CCcam0' message to the server.
So this program is just to check whether the server is working or not with the given username and password.

I want to go further ..
How to call cccam server to decrypt a channel? What should be the message content that we need to send from client to the server ?
Is there any documentation I can refer to learn about message format and the protocol ?
Can someone help me on this, may be by giving reference to implementation that are done by programming languages (Java and other languages are also fine)

This implementation is just for my personal interest and for fun. I don't have any plan to use this for commercial proposes.