Module: OpenSSL::SSL::SocketForwarder

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

Instance Method Summary collapse

Instance Method Details

#addrObject



24
25
26
# File 'lib/openssl/ssl.rb', line 24

def addr
  to_io.addr
end

#closed?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/openssl/ssl.rb', line 44

def closed?
  to_io.closed?
end

#do_not_reverse_lookup=(flag) ⇒ Object



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

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

#fcntl(*args) ⇒ Object



40
41
42
# File 'lib/openssl/ssl.rb', line 40

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

#getsockopt(level, optname) ⇒ Object



36
37
38
# File 'lib/openssl/ssl.rb', line 36

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

#peeraddrObject



28
29
30
# File 'lib/openssl/ssl.rb', line 28

def peeraddr
  to_io.peeraddr
end

#setsockopt(level, optname, optval) ⇒ Object



32
33
34
# File 'lib/openssl/ssl.rb', line 32

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