Module: OpenSSL::SSL::SocketForwarder

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

Instance Method Summary collapse

Instance Method Details

#addrObject



240
241
242
# File 'lib/openssl/ssl.rb', line 240

def addr
  to_io.addr
end

#closed?Boolean

Returns:

  • (Boolean)


260
261
262
# File 'lib/openssl/ssl.rb', line 260

def closed?
  to_io.closed?
end

#do_not_reverse_lookup=(flag) ⇒ Object



264
265
266
# File 'lib/openssl/ssl.rb', line 264

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

#fcntl(*args) ⇒ Object



256
257
258
# File 'lib/openssl/ssl.rb', line 256

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

#filenoObject

The file descriptor for the socket.



236
237
238
# File 'lib/openssl/ssl.rb', line 236

def fileno
  to_io.fileno
end

#getsockopt(level, optname) ⇒ Object



252
253
254
# File 'lib/openssl/ssl.rb', line 252

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

#peeraddrObject



244
245
246
# File 'lib/openssl/ssl.rb', line 244

def peeraddr
  to_io.peeraddr
end

#setsockopt(level, optname, optval) ⇒ Object



248
249
250
# File 'lib/openssl/ssl.rb', line 248

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