All Downloads are FREE. Search and download functionalities are using the official Maven repository.

remote.RemoteStub Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
package remote;

import java.rmi.RemoteException;

public abstract class RemoteStub {
	public abstract Remote getValue();

	@Override
	public String toString() {
		try {
			return getValue().map(a -> a.toString()).get();
		} catch (final RemoteException e) {
			throw new RuntimeException(e);
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy