[][src]Module ether_dream_dac_emulator::stream

The TCP stream between a client and the DAC.

Structs

State
Stream

A stream of communication between a DAC and a user.

Underflowed

The stream DAC output stream underflowed due to insufficient data.

Enums

Command

Commands that the DAC may be receive via a Stream.

InterpretedCommand

An attempt at interpreting a Command from bytes.

Functions

process_command

Process the given the given Command and update the DAC state accordingly.

process_interpreted_command

Process the interpreted command, update the DAC state accordingly and produce a response.