类 DefaultPushManager
java.lang.Object
com.walker.push.AbstractPushManager
com.walker.push.support.AsyncPushManager
com.iplatform.base.push.DefaultPushManager
- 所有已实现的接口:
com.walker.push.PushManager
public class DefaultPushManager
extends com.walker.push.support.AsyncPushManager
平台默认的推送管理器实现。
- 作者:
- 时克英
-
字段概要
从类继承的字段 com.walker.push.AbstractPushManager
logger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明获得邮件发送地址配置信息。protected voidpersistent(com.walker.push.Notification notification, List<String> successReceiverList, com.walker.push.NotificationChannel channel) protected voidpersistentFailed(com.walker.push.Notification notification, List<String> failedList, com.walker.push.NotificationChannel channel) com.walker.push.PushResultpushSms(com.walker.push.Notification notification) com.walker.push.PushResultpushSmsValidateCode(String code, String mobile, String creator) 发送短信验证码推送。voidsetMailFrom(String mailFrom) void设置短信推送者ID,因为可能存在多个voidsetSmsTemplateCode(String smsTemplateCode) 设置短信验证码模板ID从类继承的方法 com.walker.push.support.AsyncPushManager
pushOnce, setThreadPoolTaskExecutor从类继承的方法 com.walker.push.AbstractPushManager
addStrategy, getAsyncListener, getMessageChannelNames, getPushList, getPushList, getPushObject, invokePush, isMessageParallel, push, push, register, setAsyncListener, setMessageChannelNames, setMessageParallel
-
构造器详细资料
-
DefaultPushManager
public DefaultPushManager()
-
-
方法详细资料
-
persistent
protected void persistent(com.walker.push.Notification notification, List<String> successReceiverList, com.walker.push.NotificationChannel channel) - 指定者:
persistent在类中com.walker.push.AbstractPushManager
-
persistentFailed
protected void persistentFailed(com.walker.push.Notification notification, List<String> failedList, com.walker.push.NotificationChannel channel) - 指定者:
persistentFailed在类中com.walker.push.AbstractPushManager
-
pushSms
public com.walker.push.PushResult pushSms(com.walker.push.Notification notification) -
pushSmsValidateCode
发送短信验证码推送。- 参数:
code- 验证码mobile- 手机号(或用户ID)都可以creator- 创建人ID- 返回:
-
setSmsId
设置短信推送者ID,因为可能存在多个- 参数:
smsId-
-
setSmsTemplateCode
设置短信验证码模板ID- 参数:
smsTemplateCode-
-
getMailFrom
获得邮件发送地址配置信息。临时这样处理。- 返回:
-
setMailFrom
-