Mercurial Hosting > luan
annotate src/goodjava/rpc/RpcCall.java @ 1725:39af1c737191
use custom nginx conf for ssl
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Thu, 11 Aug 2022 12:34:29 +0200 |
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 } |