Module: OpenSSL::SSL::SocketForwarder

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

Instance Method Summary collapse

Instance Method Details

#addrObject



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

def addr
  to_io.addr
end

#closed?Boolean

Returns:

  • (Boolean)


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

def closed?
  to_io.closed?
end

#do_not_reverse_lookup=(flag) ⇒ Object



268
269
270
# File 'lib/openssl/ssl.rb', line 268

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

#fcntl(*args) ⇒ Object



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

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

#filenoObject

The file descriptor for the socket.



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

def fileno
  to_io.fileno
end

#getsockopt(level, optname) ⇒ Object



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

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

#peeraddrObject



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

def peeraddr
  to_io.peeraddr
end

#setsockopt(level, optname, optval) ⇒ Object



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

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