程序包 cn.zhxu.toys.msg
类 IPChkMsgSender
java.lang.Object
cn.zhxu.toys.msg.IPChkMsgSender
- 所有已实现的接口:
MsgSender
检验请求IP的短信发送器
- 从以下版本开始:
- 0.2.9
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明longintintintboolean发送信息voidsetCachePrefix(String cachePrefix) voidsetCacheService(CacheService cacheService) voidsetCountCycleSeconds(long countCycleSeconds) voidsetMaxAllowCountPerDay(int maxAllowCountPerDay) voidsetMinSendInterval(int minSendInterval) voidsetMsgSender(MsgSender msgSender) voidsetRedisExpireSeconds(int redisExpireSeconds) voidsetReqIpGetter(ReqIpGetter reqIpGetter) voidsetWhiteIpList(List<String> whiteIpList)
-
构造器详细资料
-
IPChkMsgSender
public IPChkMsgSender()
-
-
方法详细资料
-
send
从接口复制的说明:MsgSender发送信息 -
getMsgSender
-
setMsgSender
-
getReqIpGetter
-
setReqIpGetter
-
getCacheService
-
setCacheService
-
getCachePrefix
-
setCachePrefix
-
getMaxAllowCountPerDay
public int getMaxAllowCountPerDay() -
setMaxAllowCountPerDay
public void setMaxAllowCountPerDay(int maxAllowCountPerDay) -
getCountCycleSeconds
public long getCountCycleSeconds() -
setCountCycleSeconds
public void setCountCycleSeconds(long countCycleSeconds) -
getRedisExpireSeconds
public int getRedisExpireSeconds() -
setRedisExpireSeconds
public void setRedisExpireSeconds(int redisExpireSeconds) -
getMinSendInterval
public int getMinSendInterval() -
setMinSendInterval
public void setMinSendInterval(int minSendInterval) -
getWhiteIpList
-
setWhiteIpList
-