view src/goodjava/rpc/RpcResult.java @ 1432:d7644b21b128

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 20 Dec 2019 23:24:50 -0700 (2019-12-21)
parents 27efb1fcbcb5
children 0ba144491a42
line wrap: on
line source
package goodjava.rpc;

import java.io.InputStream;


public final class RpcResult {
	public final InputStream in;
	public final long lenIn;
	public final Object[] returnValues;

	public RpcResult(Object... returnValues) {
		this(null,-1L,returnValues);
	}

	public RpcResult(InputStream in,long lenIn,Object... returnValues) {
		this.in = in;
		this.lenIn = lenIn;
		this.returnValues = returnValues;
	}
}