remote.server.Return Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of remote4j Show documentation
Show all versions of remote4j Show documentation
Thin functional layer on top of RMI.
package remote.server;
import java.io.Serializable;
@SuppressWarnings("serial")
public class Return implements Serializable {
private final Object value;
private final long relatesTo;
public Object getValue() {
return value;
}
public long getRelatesTo() {
return relatesTo;
}
public Return(final Object value, final long relatesTo) {
this.relatesTo = relatesTo;
this.value = value;
}
@Override
public String toString() {
return Long.toString(relatesTo) + " = " + value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy