I'm in a plan to use Subversion 1.9. While glance through the Subversion 1.9 API, I have noticed that it contains TunnelAgent to create the tunnel and run the subversion commands over there. Also it contains the method openTunnel in TunnelAgent.

I'm new to this concept. So Can you please clarify me how to set the tunnel agent in my application, open and run the command in it.