Mercurial Hosting > luan
comparison src/goodjava/rpc/Rpc.java @ 1509:0ba144491a42
lucene.backup zip
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 17 May 2020 14:29:33 -0600 |
parents | 491b355acef7 |
children |
comparison
equal
deleted
inserted
replaced
1508:86c5e7000ecf | 1509:0ba144491a42 |
---|---|
5 | 5 |
6 // static utils | 6 // static utils |
7 public final class Rpc { | 7 public final class Rpc { |
8 private Rpc() {} // never | 8 private Rpc() {} // never |
9 | 9 |
10 public static final RpcResult OK = new RpcResult(); | 10 public static final RpcResult OK = new RpcResult(new Object[0]); |
11 | 11 |
12 public static final RpcCall CLOSE = new RpcCall("close"); | 12 public static final RpcCall CLOSE = new RpcCall("close"); |
13 public static final RpcCall PING = new RpcCall("ping"); | 13 public static final RpcCall PING = new RpcCall("ping"); |
14 public static final String ECHO = "echo"; | 14 public static final String ECHO = "echo"; |
15 | 15 |