blob: c635b30544c9ae63b5ac81b60ef67a9804c0749a (
plain)
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
|
\documentclass{article}
\usepackage[usenames]{xcolor}
\usepackage{listings}
\title{Servers and ports}
\author{}
\date{}
\begin{document}
\maketitle
\begin{tabular}{|l|l|l|}
\hline
\textbf{Port offset} & \textbf{Component} & \textbf{Purpose} \\
\hline
0 & \texttt{EncodeServer} & Listen for frame encoding requests \\
\hline
1 & \texttt{EncodeServer} & Listen for \texttt{DCPOMATIC\_HELLO} from masters \\
\hline
2 & \texttt{EncodeServerFinder} & Listen for replies to \texttt{DCPOMATIC\_HELLO} from servers \\
\hline
3 & Batch converter & Listen for job requests \\
\hline
\end{tabular}
\texttt{EncodeServer} listens on \texttt{server\_port\_base}.
Receives an XML \texttt{EncodingRequest} and then the video data.
Sends back the encoded data.
\texttt{EncodeServer} also listens on $\texttt{server\_port\_base} +
1$. A main DCP-o-matic instance broadcasts \texttt{DCPOMATIC\_HELLO}
on this port. When a server receives this it connects to the main
DCP-o-matic on $\texttt{server\_port\_base} + 1$ and tells it what it can do.
Batch Converter listens on $\texttt{server\_port\_base} + 2$ for jobs.
\end{document}
|