module ThriftHelpers::Server::TransportInterface
Public Instance Methods
flush()
click to toggle source
# File lib/thrift_client/server.rb, line 94 def flush transport.flush end
read(sz)
click to toggle source
# File lib/thrift_client/server.rb, line 73 def read(sz) transport.read(sz) end
read_all(sz)
click to toggle source
# File lib/thrift_client/server.rb, line 85 def read_all(sz) transport.read_all(sz) end
read_byte()
click to toggle source
# File lib/thrift_client/server.rb, line 77 def read_byte transport.read_byte end
read_into_buffer(buffer, size)
click to toggle source
# File lib/thrift_client/server.rb, line 81 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 102 def timeout transport.timeout end
timeout=(timeout)
click to toggle source
# File lib/thrift_client/server.rb, line 98 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 89 def write(buf) transport.write(buf) end
Also aliased as: <<