THRIFT-64. java: Allow TServerSocket to bind to a specific IP address
authorDavid Reiss <dreiss@apache.org>
Thu, 24 Jul 2008 19:20:32 +0000 (19:20 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 24 Jul 2008 19:20:32 +0000 (19:20 +0000)
commit6144e428d5f55ef5cb81dbef1af8a140f94ad53c
tree78950a55d1c4f717e46a05ddaa45e9fc52f58005
parent5ff21a4df610cf7a5b35563169dddf1f68325ba4
THRIFT-64. java: Allow TServerSocket to bind to a specific IP address

Add a new constructor to TServerSocket that accepts an InetSocketAddress
and binds to that address.  Define the old constructor (which just takes
a port) in terms of the new one.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@679505 13f79535-47bb-0310-9956-ffa450edef68
lib/java/src/com/facebook/thrift/transport/TServerSocket.java