mandala.jacob.remote
Interface Remote

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
LocalReferenceRetriever, RemoteActiveMap, RemoteCancelable, RemoteCollection, RemoteFutureClient, RemoteFutureServer, RemoteInvocationEventsWaiter, RemoteInvocationInfo, RemoteInvocationObserver, RemoteIterator, RemoteMap, RemoteMap.RemoteEntry, RemoteMethodResult, RemoteResultUpdater, RemoteSet, RemoteThread
All Known Implementing Classes:
AbstractLocalReferenceRetriever, AbstractRemote, RemoteActiveMapProxy, RemoteCancelableProxy, RemoteCollectionProxy, RemoteInvocationEventsWaiterProxy, RemoteInvocationInfoProxy, RemoteInvocationObserverProxy, RemoteIteratorProxy, RemoteMapProxy, RemoteMapProxy.RemoteEntryProxy, RemoteMethodResultProxy, RemoteResultUpdaterProxy, RemoteSetProxy, RemoteThreadProxy, RMIActiveMap, RMICancelable, RMICollection, RMIIterator, RMIMap, RMIMap.RMIEntry, RMISet, RMIThread

public interface Remote
extends java.io.Serializable

This interface defines the basic behaviour of standard remote objects.

Remote class must implements this interface so user can provides ExceptionHandler to deal with remote exception.

Since:
1.0
Version:
1.0
Author:
eipi
See Also:
ExceptionHandler

Method Summary
 ExceptionHandler getExceptionHandler()
          Returns the RemoteExceptionHandler which manage network related exceptions.
 void setExceptionHandler(ExceptionHandler exceptionHandler)
          Set the RemoteExceptionHandler which manage network related exceptions.
 

Method Detail

getExceptionHandler

public ExceptionHandler getExceptionHandler()

Returns the RemoteExceptionHandler which manage network related exceptions.

Returns:
the RemoteExceptionHandler which manage network related exceptions

setExceptionHandler

public void setExceptionHandler(ExceptionHandler exceptionHandler)

Set the RemoteExceptionHandler which manage network related exceptions.

Parameters:
exceptionHandler - the RemoteExceptionHandler which should manage network related exceptions


Mandala help mailing list