org.async.rmi.modules.Exporter Maven / Gradle / Ivy
package org.async.rmi.modules;
import java.net.UnknownHostException;
import java.rmi.Remote;
/**
* Created by Barak Bar Orion
* 12/10/14.
*/
public interface Exporter {
T export(T impl) throws InterruptedException, UnknownHostException;
T export(T impl, long objectid) throws InterruptedException, UnknownHostException;
@SuppressWarnings({"UnusedDeclaration", "SpellCheckingInspection"})
boolean unexport();
@SuppressWarnings({"UnusedDeclaration", "SpellCheckingInspection"})
boolean unexport(Remote obj);
}