Class: Dalli::Socket::SSLSocket

Inherits:
OpenSSL::SSL::SSLSocket
  • Object
show all
Includes:
InstanceMethods
Defined in:
lib/dalli/socket.rb

Overview

Wraps the below TCP socket class in the case where the client has configured a TLS/SSL connection between Dalli and the Memcached server.

Constant Summary

Constants included from InstanceMethods

InstanceMethods::FILTERED_OUT_OPTIONS, InstanceMethods::WAIT_RCS

Instance Method Summary collapse

Methods included from InstanceMethods

#append_to_buffer?, #logged_options, #nonblock_timed_out?, #read_available, #readfull

Instance Method Details

#optionsObject



66
67
68
# File 'lib/dalli/socket.rb', line 66

def options
  io.options
end

#wait_readable(timeout = nil) ⇒ Object



71
72
73
# File 'lib/dalli/socket.rb', line 71

def wait_readable(timeout = nil)
  to_io.wait_readable(timeout)
end

#wait_writable(timeout = nil) ⇒ Object



77
78
79
# File 'lib/dalli/socket.rb', line 77

def wait_writable(timeout = nil)
  to_io.wait_writable(timeout)
end