Overview of the stomp.py package structure
devThe stomp.py package is organized into several submodules and subpackages that handle different aspects of the STOMP protocol implementation. Key components include:
- Core Logic: Found in the main
stompmodule andstomp.protocol. - Connection Management: Handled by
stomp.connectandstomp.transport. - Event Handling: Managed via
stomp.listenerfor reacting to STOMP frames. - Constants and Utilities:
stomp.constantsprovides protocol-specific values, whilestomp.utilsandstomp.coloursprovide helper functions. - Error Handling:
stomp.exceptiondefines the exception hierarchy. - Extensibility: The
stomp.adaptersubpackage allows for different transport or protocol adaptations. - Testing: The
stomp.testsubpackage provides tools for testing STOMP implementations.