comparison src/goodjava/rpc/RpcCall.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/RpcCall.java@e4710ddfd287
children
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 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 }