1 17 18 package org.objectweb.jac.core.dist.rmi; 19 20 import org.objectweb.jac.core.dist.RemoteRef; 21 22 import java.rmi.Remote ; 23 import java.rmi.RemoteException ; 24 25 31 32 public interface RMIRemoteContainerInterf extends Remote { 33 34 46 47 int instantiates(String name, String className, Object [] args, 48 String [] fields, byte[] state, 49 byte[] collaboration ) 50 throws RemoteException ; 51 52 53 61 62 void copy( String name, int index, String [] fields, byte[] state, 63 byte[] collaboration ) 64 throws RemoteException ; 65 66 67 76 77 byte[] invoke( int index, String methodName, byte[] methodArgs, 78 byte[] collaboration ) 79 throws RemoteException ; 80 81 byte[] invokeRoleMethod( int index, String methodName, 82 byte[] methodArgs, 83 byte[] collaboration ) 84 throws RemoteException ; 85 86 byte[] getByteCodeFor ( String className ) throws RemoteException ; 87 88 91 92 RemoteRef bindTo ( String name ) throws RemoteException ; 93 94 108 } 109 | Popular Tags |