Module: OpenSSL::SSL::SocketForwarder
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Included In:
| |
| Defined in: | ext/openssl/lib/openssl/ssl.rb |
Instance Attribute Summary
- #close_on_exec=(value) rw
- #close_on_exec? ⇒ Boolean rw
- #closed? ⇒ Boolean readonly
- #do_not_reverse_lookup=(flag) writeonly
-
#timeout
rw
See additional method definition at line 249.
-
#timeout=(value)
rw
See additional method definition at line 253.
Instance Method Summary
- #addr
- #fcntl(*args)
-
#fileno
The file descriptor for the socket.
- #getsockopt(level, optname)
- #local_address
- #peeraddr
- #remote_address
- #setsockopt(level, optname, optval)
-
#wait(*args)
Calls
IO#waiton the underlying socket. -
#wait_readable(*args)
Calls
IO#wait_readableon the underlying socket. -
#wait_writable(*args)
Calls
IO#wait_writableon the underlying socket.
Instance Attribute Details
#close_on_exec=(value) (rw)
[ GitHub ]# File 'ext/openssl/lib/openssl/ssl.rb', line 219
def close_on_exec=(value) to_io.close_on_exec = value end
#close_on_exec? ⇒ Boolean (rw)
[ GitHub ]
# File 'ext/openssl/lib/openssl/ssl.rb', line 223
def close_on_exec? to_io.close_on_exec? end
#closed? ⇒ Boolean (readonly)
[ GitHub ]
# File 'ext/openssl/lib/openssl/ssl.rb', line 211
def closed? to_io.closed? end
#do_not_reverse_lookup=(flag) (writeonly)
[ GitHub ]# File 'ext/openssl/lib/openssl/ssl.rb', line 215
def do_not_reverse_lookup=(flag) to_io.do_not_reverse_lookup = flag end
#timeout (rw)
See additional method definition at line 249.
# File 'ext/openssl/lib/openssl/ssl.rb', line 257
def timeout to_io.timeout end
#timeout=(value) (rw)
See additional method definition at line 253.
# File 'ext/openssl/lib/openssl/ssl.rb', line 261
def timeout=(value) to_io.timeout=(value) end
Instance Method Details
#addr
[ GitHub ]# File 'ext/openssl/lib/openssl/ssl.rb', line 183
def addr to_io.addr end
#fcntl(*args)
[ GitHub ]# File 'ext/openssl/lib/openssl/ssl.rb', line 207
def fcntl(*args) to_io.fcntl(*args) end
#fileno
The file descriptor for the socket.
# File 'ext/openssl/lib/openssl/ssl.rb', line 179
def fileno to_io.fileno end
#getsockopt(level, optname)
[ GitHub ]# File 'ext/openssl/lib/openssl/ssl.rb', line 203
def getsockopt(level, optname) to_io.getsockopt(level, optname) end
#local_address
[ GitHub ]# File 'ext/openssl/lib/openssl/ssl.rb', line 191
def local_address to_io.local_address end
#peeraddr
[ GitHub ]# File 'ext/openssl/lib/openssl/ssl.rb', line 187
def peeraddr to_io.peeraddr end
#remote_address
[ GitHub ]# File 'ext/openssl/lib/openssl/ssl.rb', line 195
def remote_address to_io.remote_address end
#setsockopt(level, optname, optval)
[ GitHub ]# File 'ext/openssl/lib/openssl/ssl.rb', line 199
def setsockopt(level, optname, optval) to_io.setsockopt(level, optname, optval) end
#wait(*args)
Calls IO#wait on the underlying socket.
Note that this method may block even when there is data immediately
available to read, unlike IO#wait_readable.
# File 'ext/openssl/lib/openssl/ssl.rb', line 231
def wait(*args) to_io.wait(*args) end
#wait_readable(*args)
Calls IO#wait_readable on the underlying socket.
Note that this method may block even when there is data immediately
available to read, unlike IO#wait_readable.
# File 'ext/openssl/lib/openssl/ssl.rb', line 239
def wait_readable(*args) to_io.wait_readable(*args) end
#wait_writable(*args)
Calls IO#wait_writable on the underlying socket.
# File 'ext/openssl/lib/openssl/ssl.rb', line 244
def wait_writable(*args) to_io.wait_writable(*args) end