Table Of Contents

Previous topic

signals

Next topic

blitz.web

This Page

server_states

TcpCommunicationException

class blitz.communications.tcp.TcpCommunicationException[source]

TcpBase

class blitz.communications.tcp.TcpBase(host='localhost', port=None)[source]

TcpStateAction

class blitz.communications.tcp.TcpStateAction(command_type, command)[source]

Manages a TCP action which is queued with the state machine.

The TcpSTateMachine provides convenience methods for creating and queueing instances

is_send()[source]

Returns true if this is a send command

TcpStateMachine

class blitz.communications.tcp.TcpStateMachine(tcp, stop_event, initial_state)[source]

Manages TCP state and ensures the messages are processed in a thread safe manner, one at a time

queue_receive(command)[source]

Queues a receive message

queue_send(command)[source]

Queues a send message