comparison src/goodjava/rpc/RpcResult.java @ 1402:27efb1fcbcb5

move luan.lib to goodjava
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 17 Sep 2019 01:35:01 -0400
parents src/luan/lib/rpc/RpcResult.java@e4710ddfd287
children 0ba144491a42
comparison
equal deleted inserted replaced
1401:ef1620aa99cb 1402:27efb1fcbcb5
1 package goodjava.rpc;
2
3 import java.io.InputStream;
4
5
6 public final class RpcResult {
7 public final InputStream in;
8 public final long lenIn;
9 public final Object[] returnValues;
10
11 public RpcResult(Object... returnValues) {
12 this(null,-1L,returnValues);
13 }
14
15 public RpcResult(InputStream in,long lenIn,Object... returnValues) {
16 this.in = in;
17 this.lenIn = lenIn;
18 this.returnValues = returnValues;
19 }
20 }