Class: PbActor::FutureProxy
- Inherits:
-
BasicProxy
- Object
- BasicProxy
- PbActor::FutureProxy
- Defined in:
- lib/pb_actor/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
122 123 124 125 126 127 |
# File 'lib/pb_actor/proxy.rb', line 122 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 |