1 repository
Standardized design patterns for implementing communication protocols.
Distinguishing note: Focuses on architectural patterns for protocol implementation.
Explore 1 awesome GitHub repository matching software engineering & architecture · Protocol Patterns. Refine with filters or upvote what's useful.
Twisted is an event-driven networking engine for Python that provides a framework for building asynchronous network applications. At its core, it uses a reactor-based event loop to drive all input and output, dispatching callbacks in a single thread without blocking. The library implements a deferred promise chain for composing asynchronous logic, along with a protocol and factory pattern that separates connection state management from protocol handling, enabling reusable handlers for different network protocols. The framework supports multiple event loops across platforms, including select,
Implements the protocol and factory pattern to separate connection state from protocol logic.