-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
SatPI.plantuml
260 lines (211 loc) · 5.66 KB
/
SatPI.plantuml
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
@startuml
hide footbox
title SatPI
SatPI *-- StreamManager
SatPI *-- RtspServer
SatPI *-- HttpServer
SatPI *-- SsdpServer
SatPI *-- Properties
SatPI *-- InterfaceAttr
class SatPI #ffcccc {
Properties
InterfaceAttr
}
class XMLSupport #aaaaff {
Mutex _mutex
--
}
class InterfaceAttr {
Eth0 etc.
}
class socket::HttpcSocket {
recvHttpcMessage(..)
recvfromHttpcMessage(..)
}
socket::SocketClient --|> socket::SocketAttr
class socket::SocketClient {
std::string _msg
std::string _protocolString
std::string _sessionID
std::string _userAgent
int _cseq
}
class socket::SocketAttr {
_fd
std::string _ipAddr
}
socket::TcpSocket --|> socket::HttpcSocket
socket::TcpSocket *-- socket::SocketAttr : "_server"
socket::TcpSocket *-- socket::SocketClient : "_client[..]"
class socket::TcpSocket {
poll(..) -> calls recvHttpcMessage(..)
-> calls process(..)
-> calls closeConnection(..)
std::string _protocolString
}
socket::UdpSocket --|> socket::HttpcSocket
class socket::UdpSocket {
init_udp_socket(..)
init_mutlicast_udp_socket(..)
}
SsdpServer --|> socket::UdpSocket
class SsdpServer {
** Thread **
--
--
threadEntry()
}
RtspServer --|> HttpcServer
class RtspServer {
** Thread **
--
--
threadEntry() -> calls poll(..)
methodSetup(..)
methodPlay(..)
methodOptions(..)
methodDescribe(..)
methodTeardown(..)
}
HttpServer --|> HttpcServer
HttpServer *.. Properties
class HttpServer {
** Thread **
--
--
threadEntry() -> calls poll(..)
methodPost(..)
methodGet(..)
}
HttpcServer --|> socket::TcpSocket
HttpcServer *.. StreamManager : "_streamManager"
HttpcServer *.. InterfaceAttr
class HttpcServer {
process(..)
closeConnection(..)
processStreamingRequest(..)
}
Stream *-- output::StreamClient : " _streamClientVector[..] "
Stream *-- mpegts::PacketBuffer : " _tsBuffer[..] "
Stream *-- input::Device
decrypt::dvbapi::Client ..* Stream : " _decrypt "
class Stream #aaaaff {
XMLSupport
** Thread DataReader**
** Thread Monitor/RTCP**
--
enabled
streamInUse
--
getFrontendDecryptInterface()
}
class decrypt::dvbapi::Client #ffbb11 {
** Thread **
--
--
}
class decrypt::dvbapi::ClientProperties #ffbb11
class dvbcsa_bs_batch_s #ffbb11
class Keys #ffbb11
class decrypt::dvbapi::Filter #ffbb11 {
Mutex _mutex
--
}
decrypt::dvbapi::Client --* StreamManager : " _decrypt "
decrypt::dvbapi::Client *.. StreamManager : " _streamManager "
StreamManager *-- Stream : " _stream[..] "
class StreamManager #aaaaff {
XMLSupport
--
--
getFrontendDecryptInterface(..)
}
output::StreamClient *-- socket::SocketAttr : " _rtp "
output::StreamClient *-- socket::SocketAttr : " _rtcp "
output::StreamClient *.. socket::SocketClient : " _httpStream "
class output::StreamClient #ccffff {
Mutex _mutex
--
SocketClient *_httpStream
watchdog
}
class mpegts::Filter #11ff11 {
Mutex _mutex
--
}
class mpegts::PacketBuffer #11ff11
class mpegts::TableData #11ff11
class mpegts::PidTable #11ff11
class mpegts::PAT #11ff11
class mpegts::PMT #11ff11
class mpegts::PCR #11ff11
class mpegts::SDT #11ff11
class output::StreamClientOutputHttp #ccffff
class output::StreamClientOutputRtp #ccffff
class output::StreamClientOutputRtpTcp #ccffff
output::StreamClientOutputHttp --|> output::StreamClient
output::StreamClientOutputRtp --|> output::StreamClient
output::StreamClientOutputRtpTcp --|> output::StreamClient
class input::childpipe::TSReader #99cc11
class TSReaderData #99cc11
input::Device <|-- input::childpipe::TSReader
input::childpipe::TSReader *-- TSReaderData
TSReaderData --|> input::DeviceData
input::Device <|-- input::dvb::Frontend
class input::Device #aaccaa {
--
StreamID
isDataAvailable() = 0
readFullTSPacket(..) = 0
}
class input::Translation #aaccaa
class input::DeviceData #aaccaa {
XMLSupport
--
Mutex _mutex
bool _changed
--
}
input::dvb::FrontendDecryptInterface <|-- input::dvb::Frontend
class input::dvb::FrontendDecryptInterface #ffccaa
class input::dvb::Frontend #ffccaa
class input::dvb::FrontendData #ffccaa {
Tuning/Channel Data
}
input::dvb::Frontend *-- input::dvb::delivery::System : " _deliverySystem[..] "
input::dvb::Frontend *-- input::dvb::FrontendData
input::dvb::Frontend *-- input::Translation : " _translation "
decrypt::dvbapi::ClientProperties --* input::dvb::Frontend : " dvbapiData - Only with LIBDVBCSA "
class input::dvb::delivery::System #aacccc
class DVBS #aacccc
class DVBC #aacccc
class DVBT #aacccc
class ATSC #aacccc
input::dvb::delivery::System <|-- DVBS
input::dvb::delivery::System <|-- DVBC
input::dvb::delivery::System <|-- DVBT
input::dvb::delivery::System <|-- ATSC
class DiSEqcSwitch #aacccc
class DiSEqcEN50494 #aacccc
class DiSEqcEN50607 #aacccc
class DiSEqc #aacccc
class Lnb #aacccc
DiSEqc <|-- DiSEqcSwitch
DiSEqc <|-- DiSEqcEN50494
DiSEqc <|-- DiSEqcEN50607
DVBS *-- DiSEqc : " _diseqc "
DiSEqc *-- Lnb : " _lnb[MAX_LNB] "
decrypt::dvbapi::ClientProperties *-- dvbcsa_bs_batch_s : " _batch "
decrypt::dvbapi::ClientProperties *-- decrypt::dvbapi::Filter
decrypt::dvbapi::ClientProperties *-- Keys
input::DeviceData <|-- input::dvb::FrontendData
mpegts::PAT --|> mpegts::TableData
mpegts::PMT --|> mpegts::TableData
mpegts::SDT --|> mpegts::TableData
mpegts::Filter *-- mpegts::PidTable
mpegts::Filter *-- mpegts::PAT
mpegts::Filter *-- mpegts::PMT
mpegts::Filter *-- mpegts::PCR
mpegts::Filter *-- mpegts::SDT
input::DeviceData *-- mpegts::Filter : " _filter "
@enduml