Module: OpenSSL::SSL::SocketForwarder

Included in:
SSLServer, SSLSocket
Defined in:
lib/1.8/openssl/ssl-internal.rb,
lib/1.9/openssl/ssl-internal.rb

Instance Method Summary collapse

Instance Method Details

#addrObject



51
52
53
# File 'lib/1.8/openssl/ssl-internal.rb', line 51

def addr
  to_io.addr
end

#closed?Boolean

Returns:

  • (Boolean)


71
72
73
# File 'lib/1.8/openssl/ssl-internal.rb', line 71

def closed?
  to_io.closed?
end

#do_not_reverse_lookup=(flag) ⇒ Object



75
76
77
# File 'lib/1.8/openssl/ssl-internal.rb', line 75

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

#fcntl(*args) ⇒ Object



67
68
69
# File 'lib/1.8/openssl/ssl-internal.rb', line 67

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

#getsockopt(level, optname) ⇒ Object



63
64
65
# File 'lib/1.8/openssl/ssl-internal.rb', line 63

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

#peeraddrObject



55
56
57
# File 'lib/1.8/openssl/ssl-internal.rb', line 55

def peeraddr
  to_io.peeraddr
end

#setsockopt(level, optname, optval) ⇒ Object



59
60
61
# File 'lib/1.8/openssl/ssl-internal.rb', line 59

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