Table Of Contents

Previous topic

rs232

Next topic

signals

This Page

server_states

server_states

class blitz.communications.server_states.ServerBaseState[source]

A server base state which also implements commands that can be received in all states such as BOARD commands

static process_standard_messages(tcp, msg)[source]

Processes standard messages that can be handled in any state

Returns:True if the message was handled here, False if it was not
blitz.communications.server_states.validate_command(msg, commands)[source]

Helper function which checks to see if a message is in the list of valid commands and sends an appropriate response over the TCP network