Module: CZTop::ZsockOptions
Overview
Defined Under Namespace
Classes: OptionsAccessor
Instance Method Summary collapse
-
#fd ⇒ Integer
Useful for registration in an event-loop.
-
#options ⇒ OptionsAccessor
Access to the options of this socket.
-
#readable? ⇒ Boolean
Checks whether there’s a message that can be read from the socket without blocking.
-
#writable? ⇒ Boolean
Checks whether at least one message can be written to the socket without blocking.
Instance Method Details
#fd ⇒ Integer
Useful for registration in an event-loop.
35 36 37 |
# File 'lib/cztop/zsock_options.rb', line 35 def fd .fd end |
#options ⇒ OptionsAccessor
Access to the options of this socket.
14 15 16 |
# File 'lib/cztop/zsock_options.rb', line 14 def @options ||= OptionsAccessor.new(self) end |