\doxysection{com.\+tritondigital.\+net.\+streaming.\+proxy.\+Proxy.\+State Enum Reference}
\hypertarget{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State}{}\label{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State}\index{com.tritondigital.net.streaming.proxy.Proxy.State@{com.tritondigital.net.streaming.proxy.Proxy.State}}
\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a4ce3a8f47d3afe059044b533f74723ea}\label{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a4ce3a8f47d3afe059044b533f74723ea} 
{\bfseries NOT\+\_\+\+RUNNING}
\item 
\mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a4333f660cc7ca0ada2ce31752ed5b88e}{CONNECTING}}
\begin{DoxyCompactList}\small\item\em Initial state and received after a call to stop. \end{DoxyCompactList}\item 
\mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a7a663e251254d41099bc555a0dd03810}{SERVER\+\_\+\+READY}}
\begin{DoxyCompactList}\small\item\em The client is connecting. \end{DoxyCompactList}\item 
\mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a7390a7da8c89527cdc2c0e38256adc85}{RUNNING}}
\begin{DoxyCompactList}\small\item\em Proxy is ready to be connected to. \end{DoxyCompactList}\item 
\Hypertarget{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a65c9a085b2c207dca7b746752db6426f}\label{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a65c9a085b2c207dca7b746752db6426f} 
{\bfseries STOPPING}
\begin{DoxyCompactList}\small\item\em The application client connected to the localserver and the proxy is working to transfer the stream from the original source to the application client. \end{DoxyCompactList}\item 
\mbox{\hyperlink{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a4b26fc44d7642624c444087a740fefd1}{ERROR}}
\begin{DoxyCompactList}\small\item\em The client or the server are stopping. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Represents the various states that the proxy could be in, depending on the state of both the client and the server. The typical sequence is


\begin{DoxyEnumerate}
\item Initial state ({\ttfamily NOT\+\_\+\+RUNNING}) 
\item Client connects ({\ttfamily CONNECTING}) 
\item Receives the minimal data from the client to be ready to use the local server ({\ttfamily SERVER\+\_\+\+READY}) 
\item The Media Player (or another application client) connects to the local server ({\ttfamily RUNNING}) 
\item All disconnect when done ({\ttfamily NOT\+\_\+\+RUNNING}) 
\end{DoxyEnumerate}

\doxysubsection{Member Data Documentation}
\Hypertarget{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a4333f660cc7ca0ada2ce31752ed5b88e}\label{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a4333f660cc7ca0ada2ce31752ed5b88e} 
\index{com.tritondigital.net.streaming.proxy.Proxy.State@{com.tritondigital.net.streaming.proxy.Proxy.State}!CONNECTING@{CONNECTING}}
\index{CONNECTING@{CONNECTING}!com.tritondigital.net.streaming.proxy.Proxy.State@{com.tritondigital.net.streaming.proxy.Proxy.State}}
\doxysubsubsection{\texorpdfstring{CONNECTING}{CONNECTING}}
{\footnotesize\ttfamily com.\+tritondigital.\+net.\+streaming.\+proxy.\+Proxy.\+State.\+CONNECTING}



Initial state and received after a call to stop. 

Proxy is not entirely ready. Connecting to it may result in the server thread blocking during the generation of a response as all required data may not have been received yet. \Hypertarget{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a4b26fc44d7642624c444087a740fefd1}\label{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a4b26fc44d7642624c444087a740fefd1} 
\index{com.tritondigital.net.streaming.proxy.Proxy.State@{com.tritondigital.net.streaming.proxy.Proxy.State}!ERROR@{ERROR}}
\index{ERROR@{ERROR}!com.tritondigital.net.streaming.proxy.Proxy.State@{com.tritondigital.net.streaming.proxy.Proxy.State}}
\doxysubsubsection{\texorpdfstring{ERROR}{ERROR}}
{\footnotesize\ttfamily com.\+tritondigital.\+net.\+streaming.\+proxy.\+Proxy.\+State.\+ERROR}



The client or the server are stopping. 

The Proxy is about to stop running. \Hypertarget{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a7390a7da8c89527cdc2c0e38256adc85}\label{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a7390a7da8c89527cdc2c0e38256adc85} 
\index{com.tritondigital.net.streaming.proxy.Proxy.State@{com.tritondigital.net.streaming.proxy.Proxy.State}!RUNNING@{RUNNING}}
\index{RUNNING@{RUNNING}!com.tritondigital.net.streaming.proxy.Proxy.State@{com.tritondigital.net.streaming.proxy.Proxy.State}}
\doxysubsubsection{\texorpdfstring{RUNNING}{RUNNING}}
{\footnotesize\ttfamily com.\+tritondigital.\+net.\+streaming.\+proxy.\+Proxy.\+State.\+RUNNING}



Proxy is ready to be connected to. 

Received after a call to start, when all data needed to generate responses without blocking has been received. \Hypertarget{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a7a663e251254d41099bc555a0dd03810}\label{enumcom_1_1tritondigital_1_1net_1_1streaming_1_1proxy_1_1Proxy_1_1State_a7a663e251254d41099bc555a0dd03810} 
\index{com.tritondigital.net.streaming.proxy.Proxy.State@{com.tritondigital.net.streaming.proxy.Proxy.State}!SERVER\_READY@{SERVER\_READY}}
\index{SERVER\_READY@{SERVER\_READY}!com.tritondigital.net.streaming.proxy.Proxy.State@{com.tritondigital.net.streaming.proxy.Proxy.State}}
\doxysubsubsection{\texorpdfstring{SERVER\_READY}{SERVER\_READY}}
{\footnotesize\ttfamily com.\+tritondigital.\+net.\+streaming.\+proxy.\+Proxy.\+State.\+SERVER\+\_\+\+READY}



The client is connecting. 

This is the first step of the proxy start, received after a call to start. he proxy stays in the state Connecting after its client connected until it has received enough data to switch to the mode SERVER\+\_\+\+READY. 

The documentation for this enum was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
streamingproxy/src/main/java/com/tritondigital/net/streaming/proxy/Proxy.\+java\end{DoxyCompactItemize}
