Class: Droonga::Client::Connection::DroongaProtocol::Thread::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/droonga/client/connection/droonga-protocol/thread.rb

Instance Method Summary collapse

Constructor Details

#initialize(thread) ⇒ Request

Returns a new instance of Request.



40
41
42
# File 'lib/droonga/client/connection/droonga-protocol/thread.rb', line 40

def initialize(thread)
  @thread = thread
end

Instance Method Details

#waitObject



44
45
46
# File 'lib/droonga/client/connection/droonga-protocol/thread.rb', line 44

def wait
  @thread.join
end