com.healthmarketscience.rmiio
Class RemoteRetry.Caller<RetType>

java.lang.Object
  extended by com.healthmarketscience.rmiio.RemoteRetry.Caller<RetType>
Direct Known Subclasses:
RemoteRetry.VoidCaller
Enclosing class:
RemoteRetry

public abstract static class RemoteRetry.Caller<RetType>
extends Object

Utility type implemented by those atttempting to make remote method calls using this retry mechanism. The call() method should implement the desired remote call. Easiest implementation is using an anonymous inner class instantiated on the fly, per call (see main example above).


Constructor Summary
RemoteRetry.Caller()
           
 
Method Summary
abstract  RetType call()
          Makes a remote method call which returns a value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteRetry.Caller

public RemoteRetry.Caller()
Method Detail

call

public abstract RetType call()
                      throws Exception
Makes a remote method call which returns a value. Users should change the exception signature to be that of the actual method call.

Throws:
Exception


Copyright © 2006–2016 Health Market Science. All rights reserved.