class ThriftHelpers::Connection::Base
Attributes
server[RW]
transport[RW]
Public Class Methods
new(transport, transport_wrapper, server, timeout)
click to toggle source
# File lib/thrift_client/connection/base.rb, line 6 def initialize(transport, transport_wrapper, server, timeout) @transport = transport @transport_wrapper = transport_wrapper @server = server @timeout = timeout end
Public Instance Methods
close()
click to toggle source
# File lib/thrift_client/connection/base.rb, line 21 def close end
connect!()
click to toggle source
# File lib/thrift_client/connection/base.rb, line 13 def connect! raise NotImplementedError end
open?()
click to toggle source
# File lib/thrift_client/connection/base.rb, line 17 def open? @transport.open? end