Mercurial Hosting > luan
annotate src/goodjava/rpc/RpcCall.java @ 1660:2968e43cdd44
manual work
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 19 Apr 2022 23:46:06 -0600 |
parents | 27efb1fcbcb5 |
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 RpcCall { | |
7 public final InputStream in; | |
8 public final long lenIn; | |
9 public final String cmd; | |
10 public final Object[] args; | |
11 | |
12 public RpcCall(String cmd,Object... args) { | |
13 this(null,-1L,cmd,args); | |
14 } | |
15 | |
16 public RpcCall(InputStream in,long lenIn,String cmd,Object... args) { | |
17 this.in = in; | |
18 this.lenIn = lenIn; | |
19 this.cmd = cmd; | |
20 this.args = args; | |
21 } | |
22 } |