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.
427 428 429 430 431 432 |
# File 'lib/tinkerforge/ip_connection.rb', line 427 def initialize @queue = nil @thread = nil @mutex = nil @packet_dispatch_allowed = false end |
Instance Attribute Details
#mutex ⇒ Object
Returns the value of attribute mutex.
424 425 426 |
# File 'lib/tinkerforge/ip_connection.rb', line 424 def mutex @mutex end |
#packet_dispatch_allowed ⇒ Object
Returns the value of attribute packet_dispatch_allowed.
425 426 427 |
# File 'lib/tinkerforge/ip_connection.rb', line 425 def packet_dispatch_allowed @packet_dispatch_allowed end |
#queue ⇒ Object
Returns the value of attribute queue.
422 423 424 |
# File 'lib/tinkerforge/ip_connection.rb', line 422 def queue @queue end |
#thread ⇒ Object
Returns the value of attribute thread.
423 424 425 |
# File 'lib/tinkerforge/ip_connection.rb', line 423 def thread @thread end |