| | |
| | | package com.genersoft.iot.vmp.service.bean; |
| | | |
| | | import java.util.stream.Stream; |
| | | |
| | | /** |
| | | * 当上级平台 |
| | | * @author lin |
| | | */ |
| | | public class MessageForPushChannel { |
| | | /** |
| | |
| | | private String mediaServerId; |
| | | |
| | | |
| | | |
| | | public static MessageForPushChannel getInstance(int type, String app, String stream, String gbId, |
| | | String platFormId, String platFormName, String serverId, |
| | | String mediaServerId){ |
| | | MessageForPushChannel messageForPushChannel = new MessageForPushChannel(); |
| | | messageForPushChannel.setType(type); |
| | | messageForPushChannel.setGbId(gbId); |
| | | messageForPushChannel.setApp(app); |
| | | messageForPushChannel.setStream(stream); |
| | | messageForPushChannel.setMediaServerId(mediaServerId); |
| | | messageForPushChannel.setPlatFormId(platFormId); |
| | | messageForPushChannel.setPlatFormName(platFormName); |
| | | return messageForPushChannel; |
| | | } |
| | | |
| | | |
| | | public int getType() { |
| | | return type; |
| | | } |