if (enquireResp != null) {
valid = enquireResp.getCommandStatus() == Data.ESME_ROK;
if (!valid) {
LOGGER.warn("Unexpected response to EnquireLink PDU: " +
enquireResp.debugString());
}
} else {
LOGGER.error("No response to the EnquireLink PDU - may be " +
"communicating asynchronously or the session " +
"may be invalid");