1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| package com.walker.push.mail;
|
| import com.walker.push.Notification;
| import com.walker.push.NotificationChannel;
| import com.walker.push.PushResult;
| import com.walker.push.support.AsyncPushManager;
|
| import java.util.List;
|
| public class DefaultPushManager extends AsyncPushManager {
|
| @Override
| protected void persistent(Notification notification, List<String> successReceiverList, NotificationChannel channel) {
| logger.debug("保存'success'通知, channel={}, notification={}, list={}", channel, notification, successReceiverList);
| }
|
| @Override
| protected void persistentFailed(Notification notification, List<String> failedList, NotificationChannel channel) {
| logger.debug("保存'failed'通知, channel={}, notification={}, list={}", channel, notification, failedList);
| }
|
| @Override
| public PushResult pushSms(Notification notification) {
| return null;
| }
| }
|
|