648540858
2023-06-29 f62bf7b2c6239f2c67f5d9019f8302c8d441f870
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
package com.genersoft.iot.vmp.service.bean;
 
/**
 * 当上级平台
 * @author lin
 */
public class MessageForPushChannel {
    /**
     * 消息类型
     * 0 流注销 1 流注册
     */
    private int type;
 
    /**
     * 流应用名
     */
    private String app;
 
    /**
     * 流Id
     */
    private String stream;
 
    /**
     * 国标ID
     */
    private String gbId;
 
    /**
     * 请求的平台国标编号
     */
    private String platFormId;
 
    /**
     * 请求的平台自增ID
     */
    private int platFormIndex;
 
    /**
     * 请求平台名称
     */
    private String platFormName;
 
    /**
     * WVP服务ID
     */
    private String serverId;
 
    /**
     * 目标流媒体节点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() {
        return type;
    }
 
    public void setType(int type) {
        this.type = type;
    }
 
    public String getApp() {
        return app;
    }
 
    public void setApp(String app) {
        this.app = app;
    }
 
    public String getStream() {
        return stream;
    }
 
    public void setStream(String stream) {
        this.stream = stream;
    }
 
    public String getGbId() {
        return gbId;
    }
 
    public void setGbId(String gbId) {
        this.gbId = gbId;
    }
 
    public String getPlatFormId() {
        return platFormId;
    }
 
    public void setPlatFormId(String platFormId) {
        this.platFormId = platFormId;
    }
 
    public String getPlatFormName() {
        return platFormName;
    }
 
    public void setPlatFormName(String platFormName) {
        this.platFormName = platFormName;
    }
 
    public String getServerId() {
        return serverId;
    }
 
    public void setServerId(String serverId) {
        this.serverId = serverId;
    }
 
    public String getMediaServerId() {
        return mediaServerId;
    }
 
    public void setMediaServerId(String mediaServerId) {
        this.mediaServerId = mediaServerId;
    }
 
    public int getPlatFormIndex() {
        return platFormIndex;
    }
 
    public void setPlatFormIndex(int platFormIndex) {
        this.platFormIndex = platFormIndex;
    }
}