Hi,
 
I am trying mod_event_socket in FreeSwitch [outbound ] using Java and I am stuck:
 
I tried the following C# sample successfully.
 
ESLconnection eslConnection = new ESLconnection(sckClient.Handle.ToInt32());
 
I need to do the same in Java. But what should I pass to new ESLconnection constructor in Java in place of socket handle?!  I know basically this is a Java question for which I tried a lot to find answer but in vain.  Hope somebody out there would already have come across this and got a solution.  Any help or clue or alternative method to achieve the same is greatly appreciated.
 
Thanks in advance.
 
Suresh