org.objectweb.carol.rmi.multi
Class LmiPRODelegate
java.lang.Object
org.objectweb.carol.rmi.multi.LmiPRODelegate
- PortableRemoteObjectDelegate
public class LmiPRODelegate
extends java.lang.Object
implements PortableRemoteObjectDelegate
Class LmiPRODelegate
is a fake PortableRemoteObject for local
methods call
void | connect(Remote target, Remote source) - Connection method
|
void | exportObject(Remote obj) - Export a Remote Object
|
Object | narrow(Object obj, Class newClass) - Narrow method
|
Remote | toStub(Remote obj) - To stub method
|
void | unexportObject(Remote obj) - Method for unexport object
|
connect
public void connect(Remote target,
Remote source)
throws RemoteException
Connection method
target
- a remote object;source
- another remote object;
exportObject
public void exportObject(Remote obj)
throws RemoteException
Export a Remote Object
narrow
public Object narrow(Object obj,
Class newClass)
throws ClassCastException
Narrow method
- an object of type newClass
toStub
public Remote toStub(Remote obj)
throws NoSuchObjectException
To stub method
- the stub object
unexportObject
public void unexportObject(Remote obj)
throws NoSuchObjectException
Method for unexport object