Mercurial Hosting > luan
annotate src/goodjava/rpc/RpcResult.java @ 1528:3bd4d7963456
use goodjava/lucene/api
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 26 Jul 2020 23:11:53 -0600 |
parents | 0ba144491a42 |
children |
rev | line source |
---|---|
1402
27efb1fcbcb5
move luan.lib to goodjava
Franklin Schmidt <fschmidt@gmail.com>
parents:
1118
diff
changeset
|
1 package goodjava.rpc; |
1118 | 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 | |
1509 | 11 public RpcResult(Object[] returnValues) { |
1118 | 12 this(null,-1L,returnValues); |
13 } | |
14 | |
1509 | 15 public RpcResult(InputStream in,long lenIn,Object[] returnValues) { |
1118 | 16 this.in = in; |
17 this.lenIn = lenIn; | |
18 this.returnValues = returnValues; | |
19 } | |
20 } |