lizhanwei
2020-02-13 f4af8ca307ea8b01a465ff09b595d75ddc3d7394
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
27
28
29
30
31
32
33
package com.anyun.im_lib;
 
import com.anyun.im_lib.interf.IMSClientInteface;
import com.anyun.im_lib.netty.NettyTcpClient;
 
import java.util.HashMap;
import java.util.Map;
 
/**
 * MyApplication2
 * Created by lzw on 2019/12/2. 14:03:15
 * 邮箱:632393724@qq.com
 * All Rights Saved! Chongqing AnYun Tech co. LTD
 */
public class MsgTimeOutTimerManager {
    private IMSClientInteface imsClient;
    private Map<String,MsgTimeoutTimer> mMsgTimeoutMap = new HashMap<>();
 
    public MsgTimeOutTimerManager(NettyTcpClient nettyTcpClient) {
        this.imsClient = nettyTcpClient;
    }
 
    /**
     * 添加消息到发送超时管理器
     * @param message
     */
    public void add(String message){
 
        if (message == null ){
 
        }
    }
}