module OpenSSL::SSL::SocketForwarder

Public Instance Methods

# File ext/openssl/lib/openssl/ssl.rb, line 183
def addr
  to_io.addr
end
# File ext/openssl/lib/openssl/ssl.rb, line 219
def close_on_exec=(value)
  to_io.close_on_exec = value
end
# File ext/openssl/lib/openssl/ssl.rb, line 223
def close_on_exec?
  to_io.close_on_exec?
end
# File ext/openssl/lib/openssl/ssl.rb, line 211
def closed?
  to_io.closed?
end
# File ext/openssl/lib/openssl/ssl.rb, line 215
def do_not_reverse_lookup=(flag)
  to_io.do_not_reverse_lookup = flag
end
# File ext/openssl/lib/openssl/ssl.rb, line 207
def fcntl(*args)
  to_io.fcntl(*args)
end

The file descriptor for the socket.

# File ext/openssl/lib/openssl/ssl.rb, line 179
def fileno
  to_io.fileno
end
# File ext/openssl/lib/openssl/ssl.rb, line 203
def getsockopt(level, optname)
  to_io.getsockopt(level, optname)
end
# File ext/openssl/lib/openssl/ssl.rb, line 191
def local_address
  to_io.local_address
end
# File ext/openssl/lib/openssl/ssl.rb, line 187
def peeraddr
  to_io.peeraddr
end
# File ext/openssl/lib/openssl/ssl.rb, line 195
def remote_address
  to_io.remote_address
end
# File ext/openssl/lib/openssl/ssl.rb, line 199
def setsockopt(level, optname, optval)
  to_io.setsockopt(level, optname, optval)
end
# File ext/openssl/lib/openssl/ssl.rb, line 249
def timeout
  to_io.timeout
end
# File ext/openssl/lib/openssl/ssl.rb, line 253
def timeout=(value)
  to_io.timeout=(value)
end

Calls IO#wait on the underlying socket.

Note that this method may block even when there is data immediately available to read, unlike IO#wait_readable.

# File ext/openssl/lib/openssl/ssl.rb, line 231
def wait(*args)
  to_io.wait(*args)
end

Calls IO#wait_readable on the underlying socket.

Note that this method may block even when there is data immediately available to read, unlike IO#wait_readable.

# File ext/openssl/lib/openssl/ssl.rb, line 239
def wait_readable(*args)
  to_io.wait_readable(*args)
end

Calls IO#wait_writable on the underlying socket.

# File ext/openssl/lib/openssl/ssl.rb, line 244
def wait_writable(*args)
  to_io.wait_writable(*args)
end