不管发送是否成功,总是建立RpcContext。 连接(so)可以为null,此时Rpc请求将在Timeout后回调。
(@NotNull Service service, @Nullable AsyncSocket so, @Nullable ProtocolHandle<Rpc<TArgument, TResult>> responseHandle)
| 172 | * 连接(so)可以为null,此时Rpc请求将在Timeout后回调。 |
| 173 | */ |
| 174 | public final void SendReturnVoid(@NotNull Service service, @Nullable AsyncSocket so, |
| 175 | @Nullable ProtocolHandle<Rpc<TArgument, TResult>> responseHandle) { |
| 176 | SendReturnVoid(service, so, responseHandle, 5000); |
| 177 | } |
| 178 | |
| 179 | public final void SendReturnVoid(@NotNull Service service, @Nullable AsyncSocket so, |
| 180 | @Nullable ProtocolHandle<Rpc<TArgument, TResult>> responseHandle, |
nothing calls this directly
no test coverage detected