rb: Add optional timeout argument to Thrift::Socket [THRIFT-74]
authorKevin Clark <kclark@apache.org>
Fri, 18 Jul 2008 21:49:50 +0000 (21:49 +0000)
committerKevin Clark <kclark@apache.org>
Fri, 18 Jul 2008 21:49:50 +0000 (21:49 +0000)
commit5ae0bab24791b48caab35a820be19567134f1256
tree3f0102c321876cd3a91837c2ec4a2eaced95db89
parent1931b12be037fe3e0e70f09510497aa78e2b586a
rb: Add optional timeout argument to Thrift::Socket [THRIFT-74]

Socket.new and UNIXSocket.new both now have a new optional argument: timeout.
There's also a timeout field accessor. This timeout is used when reading or
writing.

Author: Kevin Ballard <kevin@rapleaf.com>

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@678053 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/lib/thrift/transport/socket.rb
lib/rb/lib/thrift/transport/unixsocket.rb
lib/rb/spec/socket_spec.rb
lib/rb/spec/socket_spec_shared.rb
lib/rb/spec/unixsocket_spec.rb