Module: OpenSSL::SSL::SocketForwarder

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

Instance Method Summary collapse

Instance Method Details

#addrObject



233
234
235
# File 'lib/openssl/ssl.rb', line 233

def addr
  to_io.addr
end

#closed?Boolean

Returns:

  • (Boolean)


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

def closed?
  to_io.closed?
end

#do_not_reverse_lookup=(flag) ⇒ Object



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

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

#fcntl(*args) ⇒ Object



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

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

#getsockopt(level, optname) ⇒ Object



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

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

#peeraddrObject



237
238
239
# File 'lib/openssl/ssl.rb', line 237

def peeraddr
  to_io.peeraddr
end

#setsockopt(level, optname, optval) ⇒ Object



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

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