Class: POSIX_MQ::Attr
- Inherits:
-
Struct
- Object
- Struct
- POSIX_MQ::Attr
- Defined in:
- lib/posix_mq.rb
Overview
An analogous Struct to “struct mq_attr” in C. This may be used in arguments for POSIX_MQ.new and POSIX_MQ#attr=. POSIX_MQ#attr returns an instance of this class.
See the mq_getattr(3) manpage for more information on the values.
Instance Attribute Summary collapse
-
#curmsgs ⇒ Object
Returns the value of attribute curmsgs.
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#maxmsg ⇒ Object
Returns the value of attribute maxmsg.
-
#msgsize ⇒ Object
Returns the value of attribute msgsize.
Instance Attribute Details
#curmsgs ⇒ Object
Returns the value of attribute curmsgs
13 14 15 |
# File 'lib/posix_mq.rb', line 13 def curmsgs @curmsgs end |
#flags ⇒ Object
Returns the value of attribute flags
13 14 15 |
# File 'lib/posix_mq.rb', line 13 def flags @flags end |
#maxmsg ⇒ Object
Returns the value of attribute maxmsg
13 14 15 |
# File 'lib/posix_mq.rb', line 13 def maxmsg @maxmsg end |
#msgsize ⇒ Object
Returns the value of attribute msgsize
13 14 15 |
# File 'lib/posix_mq.rb', line 13 def msgsize @msgsize end |