18.104.22.168 State Machine for Core Protocol Interface IClient
|For Standard||ETP v1.1|
The following diagram shows the definition of Protocol 0 as a state machine, from the standpoint of a client. This diagram incorporates both the connection/disconnection with WebSocket, as well as Protocol 0.
From the standpoint of Protocol 0, all of the ETP subprotocols can be thought of as concurrent substates. From an application standpoint, there may be more complex state machines created that combine the subprotocols. For example, an application may use the Discovery protocol to interactively determine what channels are available for streaming, and then use the ChannelStreaming protocol to stream data on those channels. These higher-level constructs are not specified as part of the protocol.