orchestrata_contracts.cxp
Reference › components › contracts › orchestrata_contracts › cxp
orchestrata_contracts.cxp package.
The cxp subpackage of contracts holds the vocabulary of the CXP packet protocol, lifted from orchestrata_ultimate.cxp. It has three kinds of module. The interfaces are i_packet, i_serializer, i_validator, i_delivery_tracker, i_thread_manager and i_prolog_bridge. The error types are the delivery, routing, serialization, validation, schema, thread and Prolog-bridge errors, such as delivery_error, no_route_error and thread_closed_error. The value types are routing_decision, routing_result, thread_metadata and thread_status. The packet classes themselves live in the sibling packet subpackage. The cxp narrative covers the runtime that implements these contracts.
26 modules, 796 lines of code.
Modules
| Module | Summary | LOC | Lifted from |
|---|---|---|---|
__init__ |
orchestrata_contracts.cxp package. | 2 | lifted from orchestrata_ultimate.cxp |
delivery_error |
24 | ||
delivery_timeout_error |
22 | ||
deserialization_error |
19 | ||
field_validation_error |
31 | ||
i_delivery_tracker |
35 | ||
i_packet |
126 | ||
i_prolog_bridge |
38 | ||
i_serializer |
45 | ||
i_thread_manager |
44 | ||
i_validator |
40 | ||
invalid_packet_error |
26 | ||
max_retries_exceeded_error |
24 | ||
no_route_error |
22 | ||
prolog_bridge_error |
20 | ||
routing_decision |
14 | ||
routing_error |
20 | ||
routing_result |
32 | ||
schema_validation_error |
18 | ||
serialization_error |
24 | ||
thread_closed_error |
21 | ||
thread_error |
20 | ||
thread_metadata |
72 | ||
thread_not_found_error |
21 | ||
thread_status |
13 | ||
validation_error |
23 |