Module: OpenSSL::SSL::SocketForwarder

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

Instance Method Summary collapse

Instance Method Details

#addrObject


98
99
100
# File 'lib/openssl/ssl.rb', line 98

def addr
  to_io.addr
end

#closed?Boolean


118
119
120
# File 'lib/openssl/ssl.rb', line 118

def closed?
  to_io.closed?
end

#do_not_reverse_lookup=(flag) ⇒ Object


122
123
124
# File 'lib/openssl/ssl.rb', line 122

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

#fcntl(*args) ⇒ Object


114
115
116
# File 'lib/openssl/ssl.rb', line 114

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

#getsockopt(level, optname) ⇒ Object


110
111
112
# File 'lib/openssl/ssl.rb', line 110

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

#peeraddrObject


102
103
104
# File 'lib/openssl/ssl.rb', line 102

def peeraddr
  to_io.peeraddr
end

#setsockopt(level, optname, optval) ⇒ Object


106
107
108
# File 'lib/openssl/ssl.rb', line 106

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