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.



27
28
29
# File 'lib/droonga/client/connection/droonga-protocol/thread.rb', line 27

def initialize(thread)
  @thread = thread
end

Instance Method Details

#waitObject



31
32
33
# File 'lib/droonga/client/connection/droonga-protocol/thread.rb', line 31

def wait
  @thread.join
end