Module ether_dream_dac_emulator::stream [] [src]

The TCP stream between a client and the DAC.

Structs

Handle

A handle to the threads that make up a user/DAC communication stream.

Output

A handle for receiving the Output produced by the processor.

Stream

A stream of communication between a DAC and a user.

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.