module ThriftHelpers::Server::TransportInterface
Public Instance Methods
flush()
click to toggle source
# File lib/thrift_client/server.rb, line 103 def flush transport.flush end
read(sz)
click to toggle source
# File lib/thrift_client/server.rb, line 82 def read(sz) transport.read(sz) end
read_all(sz)
click to toggle source
# File lib/thrift_client/server.rb, line 94 def read_all(sz) transport.read_all(sz) end
read_byte()
click to toggle source
# File lib/thrift_client/server.rb, line 86 def read_byte transport.read_byte end
read_into_buffer(buffer, size)
click to toggle source
# File lib/thrift_client/server.rb, line 90 def read_into_buffer(buffer, size) transport.read_into_buffer(buffer, size) end
timeout()
click to toggle source
# File lib/thrift_client/server.rb, line 111 def timeout transport.timeout end
timeout=(timeout)
click to toggle source
# File lib/thrift_client/server.rb, line 107 def timeout=(timeout) transport.timeout = timeout if transport.respond_to?(:timeout=) end
write(buf)
click to toggle source
# File lib/thrift_client/server.rb, line 98 def write(buf) transport.write(buf) end
Also aliased as: <<