package com.njcn.msgpush.module.push.client.sender.fallback;

import com.njcn.msgpush.module.push.client.sender.AppPushSender;
import com.njcn.msgpush.module.push.client.sender.SendOutcome;
import com.njcn.msgpush.module.push.client.sender.SendResult;
import com.njcn.msgpush.module.push.dal.dataobject.message.MessageRecordDO;

/**
 * APP 推送渠道固定结果 sender。
 */
public class FixedResultAppPushSender extends AbstractFixedResultSender implements AppPushSender {

    public FixedResultAppPushSender(SendOutcome outcome, String message) {
        super(outcome, message);
    }

    @Override
    public SendResult appPush(MessageRecordDO messageRecord) {
        return this.buildResult();
    }
}
