mandala.jacob.remote.gpf
Interface Exporter

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
RMIExporter, TCPExporter, UDPExporter

public interface Exporter
extends java.io.Serializable

This interface is used when a mandala core object must be exported.

This class is one of the few class (see package documentation) to implement to provide a customized procotol.

Since:
1.0
Version:
$Revision: 1.3 $
Author:
eipi

Method Summary
 RemoteActiveMapProxy exportActiveMap(ActiveMap activeMap)
          Makes the given activeMap remotely accessible.
 RemoteCancelableProxy exportCancelable(Cancelable cancelable)
          Makes the given cancelable remotely accessible.
 RemoteCollectionProxy exportCollection(java.util.Collection collection)
          Makes the given collection remotely acessible.
 RemoteMapProxy.RemoteEntryProxy exportEntry(java.util.Map.Entry entry)
          Makes the given entry remotely accessible.
 RemoteInvocationEventsWaiterProxy exportInvocationEventsWaiter(InvocationEventsWaiter invocationEventsWaiter)
          Makes the given invocationEventsWaiter remotely accessible.
 RemoteInvocationInfoProxy exportInvocationInfo(InvocationInfo info)
          Makes the given info remotely accessible.
 RemoteInvocationObserverProxy exportInvocationObserver(InvocationObserver invocationObserver)
          Makes the given invocationObserver remotely accessible.
 RemoteIteratorProxy exportIterator(java.util.Iterator iterator)
          Makes the given iterator remotely accessibles.
 RemoteMapProxy exportMap(java.util.Map map)
          Makes the given map remotely accessible.
 RemoteMethodResultProxy exportMethodResult(MethodResult methodResult)
          Makes the given methodResult remotely accessible.
 RemoteResultUpdaterProxy exportResultUpdater(ResultUpdater resultUpdater)
          Makes the given resultUpdater remotely accessible.
 RemoteSetProxy exportSet(java.util.Set set)
          Makes the given set remotely acessible.
 RemoteThreadProxy exportThread(ThreadOp thread)
          Makes the given thread remotely accessible.
 

Method Detail

exportCollection

public RemoteCollectionProxy exportCollection(java.util.Collection collection)
                                       throws java.lang.Exception

Makes the given collection remotely acessible.

Parameters:
collection - a Collection value
Returns:
a RemoteCollectionProxy value
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteCollectionProxy

exportSet

public RemoteSetProxy exportSet(java.util.Set set)
                         throws java.lang.Exception

Makes the given set remotely acessible.

Parameters:
set - a Set value
Returns:
a RemoteSetProxy value
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteSetProxy

exportMap

public RemoteMapProxy exportMap(java.util.Map map)
                         throws java.lang.Exception

Makes the given map remotely accessible.

Parameters:
map - the map to serve remotely
Returns:
the RemoteMapProxy instance representing the given map
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteMapProxy

exportEntry

public RemoteMapProxy.RemoteEntryProxy exportEntry(java.util.Map.Entry entry)
                                            throws java.lang.Exception

Makes the given entry remotely accessible.

Parameters:
entry - a Map.Entry value
Returns:
a RemoteEntryProxy value
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteMapProxy.RemoteEntryProxy

exportActiveMap

public RemoteActiveMapProxy exportActiveMap(ActiveMap activeMap)
                                     throws java.lang.Exception

Makes the given activeMap remotely accessible.

Parameters:
activeMap - the active map to serve remotely
Returns:
the RemoteActiveMapProxy instance representing the given active map
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteActiveMapProxy

exportIterator

public RemoteIteratorProxy exportIterator(java.util.Iterator iterator)
                                   throws java.lang.Exception

Makes the given iterator remotely accessibles.

Parameters:
iterator - the iterator to serve remotely
Returns:
the RemoteIteratorProxy instance representing the given iterator
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteIteratorProxy

exportThread

public RemoteThreadProxy exportThread(ThreadOp thread)
                               throws java.lang.Exception

Makes the given thread remotely accessible.

Parameters:
thread - a ThreadOp value
Returns:
a RemoteThreadProxy value
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteThreadProxy

exportInvocationInfo

public RemoteInvocationInfoProxy exportInvocationInfo(InvocationInfo info)
                                               throws java.lang.Exception

Makes the given info remotely accessible.

Parameters:
info - an InvocationInfo value
Returns:
a RemoteInvocationInfoProxy value
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteInvocationInfoProxy

exportInvocationObserver

public RemoteInvocationObserverProxy exportInvocationObserver(InvocationObserver invocationObserver)
                                                       throws java.lang.Exception

Makes the given invocationObserver remotely accessible.

Parameters:
invocationObserver - an InvocationObserver value
Returns:
a RemoteInvocationObserverProxy value
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteInvocationObserverProxy

exportMethodResult

public RemoteMethodResultProxy exportMethodResult(MethodResult methodResult)
                                           throws java.lang.Exception

Makes the given methodResult remotely accessible.

Parameters:
methodResult - a MethodResult value
Returns:
a RemoteMethodResultProxy value
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteMethodResultProxy

exportInvocationEventsWaiter

public RemoteInvocationEventsWaiterProxy exportInvocationEventsWaiter(InvocationEventsWaiter invocationEventsWaiter)
                                                               throws java.lang.Exception

Makes the given invocationEventsWaiter remotely accessible.

Parameters:
invocationEventsWaiter - an InvocationEventsWaiter value
Returns:
a RemoteInvocationEventsWaiterProxy value
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteMethodResultProxy

exportCancelable

public RemoteCancelableProxy exportCancelable(Cancelable cancelable)
                                       throws java.lang.Exception

Makes the given cancelable remotely accessible.

Parameters:
cancelable - a Cancelable value
Returns:
a RemoteCancelableProxy value
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteMethodResultProxy

exportResultUpdater

public RemoteResultUpdaterProxy exportResultUpdater(ResultUpdater resultUpdater)
                                             throws java.lang.Exception

Makes the given resultUpdater remotely accessible.

Parameters:
resultUpdater - a ResultUpdater value
Returns:
a RemoteResultUpdaterProxy value
Throws:
java.lang.Exception - if an exception prevented the creation of the RemoteMethodResultProxy


Mandala help mailing list