You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by liuzhiwei <li...@163.com> on 2015/07/20 17:29:43 UTC

how to get client ip and port in

hi everyone,
    I used 0.9.2 thrift java client to develop program,I want to get client ip and port in thrift server,  I found a lot of message about TServerEventHandler class to get ip and port in google, I wrote a MyTServerEventHandler class implements TServerEventHandler,  I didn't know which class to  get ip and port in createContext of method, please help to me, who give me  a example.


thanks.