view src/goodjava/rpc/RpcCall.java @ 1742:d778f1f2598a

make server side events proxy work
author Vadim Filimonov <fffilimonov@yandex.ru>
date Tue, 08 Nov 2022 09:32:46 +0200
parents 27efb1fcbcb5
children
line wrap: on
line source

package goodjava.rpc;

import java.io.InputStream;


public final class RpcCall {
	public final InputStream in;
	public final long lenIn;
	public final String cmd;
	public final Object[] args;

	public RpcCall(String cmd,Object... args) {
		this(null,-1L,cmd,args);
	}

	public RpcCall(InputStream in,long lenIn,String cmd,Object... args) {
		this.in = in;
		this.lenIn = lenIn;
		this.cmd = cmd;
		this.args = args;
	}
}