action, scannerId == -1 ? false : true, scannerId, false);
scannerId = response.getScannerId();
} else {// rpc
ClientProtocol clientProtocol = connection.getClient(
serverName.getHostname(), serverName.getPort());
response = clientProtocol.scan(null,
RequestConverter.buildScanRequest(action, scannerId, false));
scannerId = response.getScannerId();
}
if (nameDataTypePairs.isEmpty()) {
nameDataTypePairs.addAll(response.getMetaList());