Retrieves a password from the database for user
in realm
. If reload_db
is true the database will be reloaded first.
Factory for servlet instances that will handle a request from server
using options
from the mount point. By default a new servlet instance is created for every call.
Raises a NotFound exception
Handles GET requests
Allow custom handling of requests for files with suffix
by class handler
Remove custom handling of requests for files with suffix
Check is passed argument valid ‘number’ in RFC 3501 terminology
Ensure argument is ‘number’ or raise DataFormatError
Retrieves a password in realm
for user
for the auth_type
of this database. reload_db
is a dummy value.
Returns the Object#object_id
of the internal object.
Loads the given private key by id
and data
.
An EngineError
is raised of the OpenSSL::PKey
is unavailable.
Loads the given private key by id
and data
.
An EngineError
is raised of the OpenSSL::PKey
is unavailable.
Creates a new Socket::Option
object for IP_MULTICAST_LOOP.
The size is dependent on the platform.
sockopt = Socket::Option.int(:INET, :IPPROTO_IP, :IP_MULTICAST_LOOP, 1) p sockopt.int => 1 p Socket::Option.ipv4_multicast_loop(10) #=> #<Socket::Option: INET IP MULTICAST_LOOP 10>
Returns the ipv4_multicast_loop
data in sockopt as an integer.
sockopt = Socket::Option.ipv4_multicast_loop(10) p sockopt.ipv4_multicast_loop => 10
Load an iseq object from binary format String object created by RubyVM::InstructionSequence.to_binary
.
This loader does not have a verifier, so that loading broken/modified binary causes critical problem.
You should not load binary data provided by others. You should use binary data translated by yourself.
Set
the default value for the :load_limit option.
See new(). The initial default value is 25 MB.
Returns the inverse of the eigenvector matrix V
Nonsymmetric reduction to Hessenberg form.
Adds a response handler. For example, to detect when the server sends a new EXISTS response (which normally indicates new messages being added to the mailbox), add the following handler after selecting the mailbox:
imap.add_response_handler { |resp| if resp.kind_of?(Net::IMAP::UntaggedResponse) and resp.name == "EXISTS" puts "Mailbox now has #{resp.data} messages" end }