old mode 100644
new mode 100755
| | |
| | | package com.genersoft.iot.vmp.service.bean; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.alibaba.fastjson2.JSONObject; |
| | | import com.genersoft.iot.vmp.gb28181.event.SipSubscribe; |
| | | import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem; |
| | | |
| | | import javax.sip.RequestEvent; |
| | | import java.util.EventObject; |
| | | |
| | | |
| | | /** |
| | | * @author lin |
| | | */ |
| | | public class PlayBackResult<T> { |
| | | private int code; |
| | | private T data; |
| | | private MediaServerItem mediaServerItem; |
| | | private int code; |
| | | |
| | | private String msg; |
| | | private T data; |
| | | private MediaServerItem mediaServerItem; |
| | | private JSONObject response; |
| | | private SipSubscribe.EventResult event; |
| | | private SipSubscribe.EventResult<EventObject> event; |
| | | |
| | | public int getCode() { |
| | | return code; |
| | |
| | | this.response = response; |
| | | } |
| | | |
| | | public SipSubscribe.EventResult getEvent() { |
| | | public SipSubscribe.EventResult<EventObject> getEvent() { |
| | | return event; |
| | | } |
| | | |
| | | public void setEvent(SipSubscribe.EventResult event) { |
| | | public void setEvent(SipSubscribe.EventResult<EventObject> event) { |
| | | this.event = event; |
| | | } |
| | | |
| | | public String getMsg() { |
| | | return msg; |
| | | } |
| | | |
| | | public void setMsg(String msg) { |
| | | this.msg = msg; |
| | | } |
| | | } |