Files

Class Index [+]

Quicksearch

Thrift::IOStreamTransport

Public Class Methods

new(input, output) click to toggle source
    # File /tmp/buildd/evernote-mode-0.10/ruby/lib/thrift/transport/io_stream_transport.rb, line 28
28:     def initialize(input, output)
29:       @input = input
30:       @output = output
31:     end

Public Instance Methods

close() click to toggle source
    # File /tmp/buildd/evernote-mode-0.10/ruby/lib/thrift/transport/io_stream_transport.rb, line 36
36:     def close; @input.close; @output.close end
open?() click to toggle source
    # File /tmp/buildd/evernote-mode-0.10/ruby/lib/thrift/transport/io_stream_transport.rb, line 33
33:     def open?; not @input.closed? or not @output.closed? end
read(sz) click to toggle source
    # File /tmp/buildd/evernote-mode-0.10/ruby/lib/thrift/transport/io_stream_transport.rb, line 34
34:     def read(sz); @input.read(sz) end
to_io() click to toggle source
    # File /tmp/buildd/evernote-mode-0.10/ruby/lib/thrift/transport/io_stream_transport.rb, line 37
37:     def to_io; @input end
write(buf) click to toggle source
    # File /tmp/buildd/evernote-mode-0.10/ruby/lib/thrift/transport/io_stream_transport.rb, line 35
35:     def write(buf); @output.write(buf) end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.