Module BrB::Tunnel::Shared
In: lib/brb/tunnel/shared.rb

Methods

Constants

SizeOfPackedInt = [1].pack('N').size

Public Instance methods

Declare a new callback to call for a given request Thread safe code

Return associated callback if present And if present, delete the associate callback from the table Thread safe code

Blocking method that wait on the @responses table an answer

Call a callback if present, return true if exists Non blocking action, use EM.defer

[Validate]