code: public void setPipeConfig(DeviceProxy deviceProxy, List<PipeInfo> pipeInfoList) throws DevFailed {
          build_connection(deviceProxy);
          if (deviceProxy.idl_version<5)
              Except.throw_exception("TangoApi_NOT_SUPPORTED",
                      "Pipe not supported in IDL " + deviceProxy.idl_version);
          boolean done = false;
          final int retries = deviceProxy.transparent_reconnection ? 2 : 1;
          for (int tr=0 ; tr<retries && !done ; tr++) {
              try {
                  PipeConfig[]  configList = new PipeConfig[pipeInfoList.size()];
                  for (int i=0 ; i<pipeInfoList.size() ; i++) {
                      configList[i] = pipeInfoList.get(i).getPipeConfig();
                  }
                  deviceProxy.device_5.set_pipe_config_5(
                          configList, DevLockManager.getInstance().getClntIdent());
                  done = true;
              }
              catch (final DevFailed e) {
                  throw e;
              }
              catch (final Exception e) {
                  manageExceptionReconnection(deviceProxy, retries, tr, e,
                          this.getClass() + ".DeviceProxy.setPipeConfig");
              }
          }
  }
docs: ===================================================================