/**
  * Allows communicating with a ProtoRPC-based service over a {@link ProtoChannel}.
  * @param channel Provide an implementation of {@link ProtoChannel} that connects
  *          to the target service.
  * @param throwOnAppError If <code>true</code>, then
  *          {@link #sendRpc(String, MessageLite, com.google.protobuf.MessageLite.Builder)}
  *          and {@link #recvRpcResponse(com.google.protobuf.MessageLite.Builder)}
  *          will throw {@link AppLayerException} instead of returning a negative
  *          app-layer error code (since the response will be empty in this case anyway).
  */
 public ProtoRpcClient(ProtoChannel channel, bool throwOnAppError)
 {
     _channel = channel;
     _throwOnAppError = throwOnAppError;
 }
 /**
  * Allows communicating with a ProtoRPC-based service over a {@link ProtoChannel}.
  * @param channel Provide an implementation of {@link ProtoChannel} that connects
  *          to the target service.
  * @param throwOnAppError If <code>true</code>, then
  *          {@link #sendRpc(String, MessageLite, com.google.protobuf.MessageLite.Builder)}
  *          and {@link #recvRpcResponse(com.google.protobuf.MessageLite.Builder)}
  *          will throw {@link AppLayerException} instead of returning a negative
  *          app-layer error code (since the response will be empty in this case anyway).
  */
 public ProtoRpcClient(ProtoChannel channel, bool throwOnAppError)
 {
     _channel         = channel;
     _throwOnAppError = throwOnAppError;
 }