Class: Tinkerforge::CallbackContext
- Inherits:
-
Object
- Object
- Tinkerforge::CallbackContext
- Defined in:
- lib/tinkerforge/ip_connection.rb
Overview
internal
Instance Attribute Summary collapse
-
#mutex ⇒ Object
Returns the value of attribute mutex.
-
#packet_dispatch_allowed ⇒ Object
Returns the value of attribute packet_dispatch_allowed.
-
#queue ⇒ Object
Returns the value of attribute queue.
-
#thread ⇒ Object
Returns the value of attribute thread.
Instance Method Summary collapse
-
#initialize ⇒ CallbackContext
constructor
A new instance of CallbackContext.
Constructor Details
#initialize ⇒ CallbackContext
Returns a new instance of CallbackContext.
519 520 521 522 523 524 |
# File 'lib/tinkerforge/ip_connection.rb', line 519 def initialize @queue = nil @thread = nil @mutex = nil @packet_dispatch_allowed = false end |
Instance Attribute Details
#mutex ⇒ Object
Returns the value of attribute mutex.
516 517 518 |
# File 'lib/tinkerforge/ip_connection.rb', line 516 def mutex @mutex end |
#packet_dispatch_allowed ⇒ Object
Returns the value of attribute packet_dispatch_allowed.
517 518 519 |
# File 'lib/tinkerforge/ip_connection.rb', line 517 def packet_dispatch_allowed @packet_dispatch_allowed end |
#queue ⇒ Object
Returns the value of attribute queue.
514 515 516 |
# File 'lib/tinkerforge/ip_connection.rb', line 514 def queue @queue end |
#thread ⇒ Object
Returns the value of attribute thread.
515 516 517 |
# File 'lib/tinkerforge/ip_connection.rb', line 515 def thread @thread end |