1 6 7 package SOFA.SOFAnet.Transport.RMI; 8 9 import java.rmi.Remote ; 10 import java.rmi.RemoteException ; 11 12 17 public interface RMITransportInterface extends Remote 18 { 19 void push(String nodeName, String bundleName, byte[] bundle, LicenceRMI licenceRMI, boolean offer) throws RMITransportException, RemoteException ; 20 boolean testPush(String nodeName, String bundleName, boolean offer) throws RMITransportException, RemoteException ; 21 boolean testPull(String nodeName, String bundleName, boolean sharing, String contractID) throws RMITransportException, RemoteException ; 22 RMIPullOutputHolder pull(String nodeName, String bundleName, boolean sharing, boolean licenceOnly, String contractID) throws RMITransportException, RemoteException ; 23 boolean canReturnShared(String nodeName, String bundleName) throws RMITransportException, RemoteException ; 24 int returnShared(String nodeName, String bundleName, boolean address, String addressNodeName) throws RMITransportException, RemoteException ; 25 int manualReturnShared(String nodeName, String bundleName) throws RMITransportException, RemoteException ; 26 } 27 | Popular Tags |