Module: OpenSSL::SSL::SocketForwarder

Included in:
SSLServer, SSLSocket
Defined in:
lib/extensions/openssl/openssl/ssl-internal.rb

Instance Method Summary collapse

Instance Method Details

#addrObject



48
49
50
# File 'lib/extensions/openssl/openssl/ssl-internal.rb', line 48

def addr
  to_io.addr
end

#closed?Boolean

Returns:

  • (Boolean)


69
70
71
# File 'lib/extensions/openssl/openssl/ssl-internal.rb', line 69

def closed?
  to_io.closed?
end

#do_not_reverse_lookup=(flag) ⇒ Object



73
74
75
# File 'lib/extensions/openssl/openssl/ssl-internal.rb', line 73

def do_not_reverse_lookup=(flag)
  to_io.do_not_reverse_lookup = flag
end

#fcntl(*args) ⇒ Object



64
65
66
67
# File 'lib/extensions/openssl/openssl/ssl-internal.rb', line 64

def fcntl(*args)
  require "fcntl"
  to_io.fcntl(*args)
end

#getsockopt(level, optname) ⇒ Object



60
61
62
# File 'lib/extensions/openssl/openssl/ssl-internal.rb', line 60

def getsockopt(level, optname)
  to_io.getsockopt(level, optname)
end

#peeraddrObject



52
53
54
# File 'lib/extensions/openssl/openssl/ssl-internal.rb', line 52

def peeraddr
  to_io.peeraddr
end

#setsockopt(level, optname, optval) ⇒ Object



56
57
58
# File 'lib/extensions/openssl/openssl/ssl-internal.rb', line 56

def setsockopt(level, optname, optval)
  to_io.setsockopt(level, optname, optval)
end