Module: OpenSSL::SSL::SocketForwarder

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

Instance Method Summary collapse

Instance Method Details

#addrObject



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

def addr
  to_io.addr
end

#closed?Boolean

Returns:

  • (Boolean)


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

def closed?
  to_io.closed?
end

#do_not_reverse_lookup=(flag) ⇒ Object



271
272
273
# File 'lib/openssl/ssl.rb', line 271

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

#fcntl(*args) ⇒ Object



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

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

#filenoObject

The file descriptor for the socket.



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

def fileno
  to_io.fileno
end

#getsockopt(level, optname) ⇒ Object



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

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

#peeraddrObject



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

def peeraddr
  to_io.peeraddr
end

#setsockopt(level, optname, optval) ⇒ Object



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

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