Class: PbActor::FutureProxy
- Inherits:
-
BasicProxy
- Object
- BasicProxy
- PbActor::FutureProxy
- Defined in:
- lib/pb_actor/future_proxy.rb
Instance Method Summary collapse
Methods inherited from BasicProxy
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
6 7 8 9 10 11 |
# File 'lib/pb_actor/future_proxy.rb', line 6 def method_missing method, *args, &blk super id = SecureRandom.uuid Message.send [:future_method_call, id, method, *args], @wr Future.new id, @wr, @rd end |