# File usr/lib/ruby/vendor_ruby/thrift/transport/framed_transport.rb, line 39 def close @transport.close end
Writes the output buffer to the stream in the format of a 4-byte length followed by the actual data.
# File usr/lib/ruby/vendor_ruby/thrift/transport/framed_transport.rb, line 64 def flush return @transport.flush unless @write out = [@wbuf.length].pack('N') out << @wbuf @transport.write(out) @transport.flush @wbuf = '' end
# File usr/lib/ruby/vendor_ruby/thrift/transport/framed_transport.rb, line 35 def open @transport.open end
# File usr/lib/ruby/vendor_ruby/thrift/transport/framed_transport.rb, line 31 def open? @transport.open? end
Generated with the Darkfish Rdoc Generator 2.