com.healthmarketscience.rmiio
Interface RemoteClient

All Known Subinterfaces:
RemoteIterator<DataType>
All Known Implementing Classes:
RemoteInputStreamWrapper, RemoteIteratorClient, RemoteOutputStreamWrapper, RemoteWrapper, SerializableInputStream, SerializableOutputStream, SerialRemoteIteratorClient, SimpleRemoteIterator

public interface RemoteClient

Interface common to most remote client implementations.

Author:
James Ahlborn

Field Summary
static RemoteRetry DEFAULT_RETRY
          The default retry policy used if none is specified by the client.
 
Method Summary
 void setRemoteRetry(RemoteRetry newRemoteRetry)
          Sets the client side RemoteRetry policy to use for the underlying remote communication layer.
 

Field Detail

DEFAULT_RETRY

static final RemoteRetry DEFAULT_RETRY
The default retry policy used if none is specified by the client.

Method Detail

setRemoteRetry

void setRemoteRetry(RemoteRetry newRemoteRetry)
Sets the client side RemoteRetry policy to use for the underlying remote communication layer. For most client side implementations, this method must be called before any other calls on this client object (any calls to this method after one of those methods is called will have no affect).

Parameters:
newRemoteRetry - the new RemoteRetry policy to use for remote communication. null causes the DEFAULT_RETRY policy to be used.


Copyright © 2006-2009 Health Market Science. All Rights Reserved.