code: public DbPipe getDevicePipeProperties(Database database, String deviceName, String pipeName) throws DevFailed {
  
          DeviceData argIn = new DeviceData();
          argIn.insert(new String[]{deviceName, pipeName});
          DeviceData argOut = database.command_inout("DbGetDevicePipeProperty", argIn);
          return ApiUtil.toDbPipe(pipeName, argOut.extractStringArray());
      }
docs: ===================================================================