// For push, all you need do is to build PushPayload object.
PushPayload payload = buildPushObject_all_all_alert();
LOG.info("Paylaod JSON - " + payload.toString());
PushResult result = jpushClient.sendPush(payload);
if (result.isResultOK()) {
LOG.debug(result.toString());
} else {
if (result.getErrorCode() > 0) {
LOG.warn(result.getOriginalContent());
} else {
LOG.debug("Maybe connect error. Retry laster. ");
}
}
}