648540858
2023-09-11 88350873ee7632924cb135a450fef9f4d05c5306
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.genersoft.iot.vmp.gb28181.transmit.event.response.impl;
 
import com.genersoft.iot.vmp.conf.SipConfig;
import com.genersoft.iot.vmp.gb28181.SipLayer;
import com.genersoft.iot.vmp.gb28181.transmit.SIPProcessorObserver;
import com.genersoft.iot.vmp.gb28181.transmit.event.response.SIPResponseProcessorAbstract;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
 
import javax.sip.ResponseEvent;
 
/**    
 * @description: BYE请求响应器
 * @author: swwheihei
 * @date:   2020年5月3日 下午5:32:05     
 */
@Component
public class ByeResponseProcessor extends SIPResponseProcessorAbstract {
 
    private final String method = "BYE";
 
    @Autowired
    private SipLayer sipLayer;
 
    @Autowired
    private SipConfig config;
 
 
    @Autowired
    private SIPProcessorObserver sipProcessorObserver;
 
    @Override
    public void afterPropertiesSet() throws Exception {
        // 添加消息处理的订阅
        sipProcessorObserver.addResponseProcessor(method, this);
    }
    /**
     * 处理BYE响应
     * 
     * @param evt
     */
    @Override
    public void process(ResponseEvent evt) {
        // TODO Auto-generated method stub
    }
 
 
}