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



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

def options
  io.options
end

#wait_readable(timeout = nil) ⇒ Object



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

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

#wait_writable(timeout = nil) ⇒ Object



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

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