Module: OpenSSL::SSL::SocketForwarder

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

Instance Method Summary collapse

Instance Method Details

#addrObject



136
137
138
# File 'lib/openssl/ssl.rb', line 136

def addr
  to_io.addr
end

#closed?Boolean

Returns:

  • (Boolean)


156
157
158
# File 'lib/openssl/ssl.rb', line 156

def closed?
  to_io.closed?
end

#do_not_reverse_lookup=(flag) ⇒ Object



160
161
162
# File 'lib/openssl/ssl.rb', line 160

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

#fcntl(*args) ⇒ Object



152
153
154
# File 'lib/openssl/ssl.rb', line 152

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

#getsockopt(level, optname) ⇒ Object



148
149
150
# File 'lib/openssl/ssl.rb', line 148

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

#peeraddrObject



140
141
142
# File 'lib/openssl/ssl.rb', line 140

def peeraddr
  to_io.peeraddr
end

#setsockopt(level, optname, optval) ⇒ Object



144
145
146
# File 'lib/openssl/ssl.rb', line 144

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