channelstatusmonitor.java.svn-base

来自「监控整个SP系统的SMS信息通道的发送情况并且生成日志。 支持权限判断。」· SVN-BASE 代码 · 共 58 行

SVN-BASE
58
字号
package com.infobank.superchannel.admin.monitor;import java.rmi.RemoteException;import java.util.List;import com.infobank.superchannel.pojo.ChannelInfo;import com.infobank.superchannel.pojo.ControllerUserToken;import com.infobank.superchannel.pojo.GenericLog;import com.infobank.superchannel.pojo.TextMessageLog;/** * @author Xiaoguang Sun * @version 类说明: 通道状态监控器远程接口 */public interface ChannelStatusMonitor extends GenericMonitor{  /**   * 取得此通道消息发送平均所用时间(单位毫秒:1000毫秒=1秒)   * @param token 用户访问令牌   * @return 此通道消息发送平均所用时间   */  public int getAverageTimeUsagePerMessage(ControllerUserToken token) throws RemoteException;  /**   * 取得此通道累计发送短信息数目   * @param token 用户访问令牌   * @return 此通道累计发送短信息数目   */  public int getNumberOfSentMessages(ControllerUserToken token) throws RemoteException;  /**   * 取得此通道描述信息   * @param token 用户访问令牌   * @return 此通道描述信息   */  public ChannelInfo getChannelInfo(ControllerUserToken token) throws RemoteException;  /**   * 取得此通道自上次调用此方法后所发送的所有短信息的日志   * @param token 用户访问令牌   * @return 此通道自上次调用此方法后所发送的所有短信息的日志   */  public List<TextMessageLog> getDeliverMessageLog(ControllerUserToken token) throws RemoteException;  /**   * 取得此通道累计发送短信息失败次数   * @param token 用户访问令牌   * @return 此通道累计发送短信息失败次数   */  public int getNumberOfFailedMessages(ControllerUserToken token) throws RemoteException;  /**   * 取得此通道累计发送短信息成功次数   * @param token 用户访问令牌   * @return 此通道累计发送短信息成功次数   */  public int getNumberOfSuccessfulMessages(ControllerUserToken token) throws RemoteException;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?