Class: Connection::Base

### Home Classes Methods

### In Files

- lib/thrift_client/connection/base.rb

### Parent

Object

### Methods

- ::new
- #close
- #connect!

### Files

- CHANGELOG
- LICENSE
- README.rdoc

### Class/Module Index

Quicksearch

- ThriftClient
- ThriftClient::NoServersAvailable
- ThriftClient::Simple
- ThriftClient::Simple::ComplexType
- ThriftClient::Simple::ComplexType::Extends
- ThriftClient::Simple::ComplexType::Includes
- ThriftClient::Simple::Field
- ThriftClient::Simple::ThriftException
- ThriftClient::Simple::ThriftService
- ThriftClient::Simple::ThriftStruct
- ThriftClient::Simple::ThriftStruct::Extend
- ThriftClient::Simple::ThriftStruct::Include
- Thrift
- Thrift::BaseTransport
- Thrift::BufferedTransport
- Thrift::Client
- Thrift::EventMachineConnection
- Thrift::EventMachineTransport
- Thrift::FramedTransport
- Connection
- Connection::Base
- Connection::Factory
- Connection::HTTP
- Connection::Socket
- AbstractThriftClient
- AbstractThriftClient::Server

No matching classes.

# 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 5
    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 16
    def close
    end

connect!() click to toggle source

    # File lib/thrift_client/connection/base.rb, line 12
    def connect!
      raise NotImplementedError
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.