| Class | Thrift::IOStreamTransport |
| In: |
lib/thrift/transport/io_stream_transport.rb
lib/thrift/transport/io_stream_transport.rb |
| Parent: | BaseTransport |
# File lib/thrift/transport/io_stream_transport.rb, line 28
28: def initialize(input, output)
29: @input = input
30: @output = output
31: end
# File lib/thrift/transport/io_stream_transport.rb, line 28
28: def initialize(input, output)
29: @input = input
30: @output = output
31: end
# File lib/thrift/transport/io_stream_transport.rb, line 36
36: def close; @input.close; @output.close end
# File lib/thrift/transport/io_stream_transport.rb, line 36
36: def close; @input.close; @output.close end
# File lib/thrift/transport/io_stream_transport.rb, line 33
33: def open?; not @input.closed? or not @output.closed? end
# File lib/thrift/transport/io_stream_transport.rb, line 33
33: def open?; not @input.closed? or not @output.closed? end
# File lib/thrift/transport/io_stream_transport.rb, line 35
35: def write(buf); @output.write(buf) end