Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
ServiceProxy proxy = proxyFactory.getProxy();
proxy.getInvocationMetaData().setTargets(new PeerpPeer[] {peer1});
Executor executor = (Executor) proxy;
executor.execute(runnable); // note that runnable must be serializable