Case studies, Sdm712 – Grass Valley iControl Services Gateway User Manual
Page 20

Page 20 of 26
Case Studies
M
UTING
C
HANNELS OF
A
LL
SDM712
I
_93
S
ERVICES
R
EGISTERED
T
HROUGH
AN
I
C
ONTROL
™
G
ATEWAY
,
E
VERY
F
RIDAYS
00:00.
IMPORTANT NOTE: Any application using
iControl™ Gateway MUST close the TCP/IP sockets
created on ports 10001 and 13000 once the connection is not anymore needed.
For example, after a previously unclosed connection on port 13000, a new connection attempt
coming from the same client (computer) may fail. In case of failure, the application should retry
to connect. The reconnection time may be up to 6 seconds.
The application obtains, lets say from a local database, the IP address of the iControl™
Gateway (199.202.148.220).
The application knows the Access Key has only parameter mute12
The application it is configured to query for the Registered Services List.
The application opens a TCP/IP socket to port 10001 of iControl
™ Gateway at IP address
199.202.148.220.
The application issues XML data stream:
The application waits for the
response.
The application closes the TCP/IP socket at port 10001 of IP address 199.202.148.220
For each SDM712i Service Node the application identified within
the tag
value matching the string „
SDM712i_93 „, the application:
Adds to the hash
SDM712iHash{}an entry using hash key
with the value of the related
tag.
Adds to the hash
SDM712iLocationHash{} an entry using hash key
with the
and
values of the identified SDM712i.
Increments a local count of found Services.
At 00:00 on Friday, for each entry j within the hash SDM712iHash{}:
The application opens a TCP/IP socket at port 13000 of SDM712iHash{j}.
The application issues XML command:
and expects XML reply
The application issues XML command:
and expects XML reply
stream
Automatically , when the set operation is done, will receive
The application issues XML command:
and expects XML reply stream
If not, t
he application
:
issues XML stream:
.
Moves entry j of SDM712iHash{} to entry j of SDM712iFooHash{}
If so, t
he application issues XML stream:
The application closes TCP/IP socket at port 13000 of Service Node
XML
tag value
.
The application exits logging:
The iControl™ Gateway Accessed.
The total amount of SDM712i_93 registered through that iControl™ Gateway.
The amount of (un)successfully muted SDM712i_93.