|  |  | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * 当上级平台 | 
 |  |  |  * @author lin | 
 |  |  |  */ | 
 |  |  | public class MessageForPushChannel { | 
 |  |  |     /** | 
 |  |  | 
 |  |  |     private String gbId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 请求的平台ID | 
 |  |  |      * 请求的平台国标编号 | 
 |  |  |      */ | 
 |  |  |     private String platFormId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 请求的平台自增ID | 
 |  |  |      */ | 
 |  |  |     private int platFormIndex; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 请求平台名称 | 
 |  |  | 
 |  |  |      * 目标流媒体节点ID | 
 |  |  |      */ | 
 |  |  |     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() { | 
 |  |  | 
 |  |  |     public void setMediaServerId(String mediaServerId) { | 
 |  |  |         this.mediaServerId = mediaServerId; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public int getPlatFormIndex() { | 
 |  |  |         return platFormIndex; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void setPlatFormIndex(int platFormIndex) { | 
 |  |  |         this.platFormIndex = platFormIndex; | 
 |  |  |     } | 
 |  |  | } |