Class: PbActor::AsyncProxy

Inherits:
BasicProxy show all
Defined in:
lib/pb_actor/async_proxy.rb

Instance Method Summary collapse

Methods inherited from BasicProxy

#alive?, #initialize, #to_s

Constructor Details

This class inherits a constructor from PbActor::BasicProxy

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args, &blk) ⇒ Object



3
4
5
6
7
# File 'lib/pb_actor/async_proxy.rb', line 3

def method_missing method, *args, &blk
  super
  Message.send [:async_method_call, nil, method, *args], @wr
  nil
end