Mercurial Hosting > luan
annotate src/luan/lib/rpc/RpcResult.java @ 1118:e4710ddfd287
start luan/lib/rpc
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 06 Aug 2017 20:11:11 -0600 |
parents | |
children |
rev | line source |
---|---|
1118 | 1 package luan.lib.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 } |