Class: Tinkerforge::CallbackContext

Inherits:
Object
  • Object
show all
Defined in:
lib/tinkerforge/ip_connection.rb

Overview

internal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCallbackContext

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

#mutexObject

Returns the value of attribute mutex.



516
517
518
# File 'lib/tinkerforge/ip_connection.rb', line 516

def mutex
  @mutex
end

#packet_dispatch_allowedObject

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

#queueObject

Returns the value of attribute queue.



514
515
516
# File 'lib/tinkerforge/ip_connection.rb', line 514

def queue
  @queue
end

#threadObject

Returns the value of attribute thread.



515
516
517
# File 'lib/tinkerforge/ip_connection.rb', line 515

def thread
  @thread
end