
3 changed files with 54 additions and 52 deletions
@ -1,32 +1,35 @@ |
|||
package com.genersoft.iot.vmp.gb28181.transmit.response.impl; |
|||
|
|||
import javax.sip.ResponseEvent; |
|||
|
|||
import org.springframework.stereotype.Component; |
|||
|
|||
import com.genersoft.iot.vmp.conf.SipConfig; |
|||
import com.genersoft.iot.vmp.gb28181.SipLayer; |
|||
import com.genersoft.iot.vmp.gb28181.transmit.response.ISIPResponseProcessor; |
|||
|
|||
/** |
|||
* @Description:暂不支持的消息响应处理器 |
|||
* @author: swwheihei |
|||
* @date: 2020年5月3日 下午5:32:59 |
|||
*/ |
|||
@Component |
|||
public class OtherResponseProcessor implements ISIPResponseProcessor { |
|||
|
|||
/** |
|||
* <p>Title: process</p> |
|||
* <p>Description: </p> |
|||
* @param evt |
|||
* @param layer |
|||
* @param config |
|||
*/ |
|||
@Override |
|||
public void process(ResponseEvent evt, SipLayer layer, SipConfig config) { |
|||
// TODO Auto-generated method stub
|
|||
|
|||
} |
|||
|
|||
} |
|||
package com.genersoft.iot.vmp.gb28181.transmit.response.impl; |
|||
|
|||
import com.genersoft.iot.vmp.conf.SipConfig; |
|||
import com.genersoft.iot.vmp.gb28181.SipLayer; |
|||
import com.genersoft.iot.vmp.gb28181.transmit.response.ISIPResponseProcessor; |
|||
import org.slf4j.Logger; |
|||
import org.slf4j.LoggerFactory; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
import javax.sip.ResponseEvent; |
|||
|
|||
/** |
|||
* @Description:暂不支持的消息响应处理器 |
|||
* @author: swwheihei |
|||
* @date: 2020年5月3日 下午5:32:59 |
|||
*/ |
|||
@Component |
|||
public class OtherResponseProcessor implements ISIPResponseProcessor { |
|||
Logger logger = LoggerFactory.getLogger(OtherResponseProcessor.class); |
|||
|
|||
/** |
|||
* <p>Title: process</p> |
|||
* <p>Description: </p> |
|||
* |
|||
* @param evt |
|||
* @param layer |
|||
* @param config |
|||
*/ |
|||
@Override |
|||
public void process(ResponseEvent evt, SipLayer layer, SipConfig config) { |
|||
// TODO Auto-generated method stub
|
|||
logger.info("OtherResponseProcessor: {}", evt.getResponse()); |
|||
} |
|||
|
|||
} |
|||
|
Loading…
Reference in new issue