view src/goodjava/rpc/RpcResult.java @ 1688:5eb985d1411f

'http/serve.luan' now allows overriding port
author Fox
date Sat, 11 Jun 2022 21:14:19 +0200
parents 0ba144491a42
children
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;
	}
}