org.apache.hivemind.lib
Interface RemoteExceptionCoordinator

All Known Implementing Classes:
RemoteExceptionCoordinatorImpl

public interface RemoteExceptionCoordinator

Coordinates propogation of remote events. Manages a list of RemoteExceptionListener and will perform notifications on demand. This allows objects which cache remote data to discard it after a remote exception.

This service is available as .

Author:
Howard Lewis Ship

Method Summary
 void addRemoteExceptionListener(RemoteExceptionListener listener)
           
 void fireRemoteExceptionDidOccur(java.lang.Object source, java.lang.Throwable exception)
          Invoked by an object which has caught a remote exception of some form.
 void removeRemoteExceptionListener(RemoteExceptionListener listener)
           
 

Method Detail

addRemoteExceptionListener

void addRemoteExceptionListener(RemoteExceptionListener listener)

removeRemoteExceptionListener

void removeRemoteExceptionListener(RemoteExceptionListener listener)

fireRemoteExceptionDidOccur

void fireRemoteExceptionDidOccur(java.lang.Object source,
                                 java.lang.Throwable exception)
Invoked by an object which has caught a remote exception of some form.