RuleBasedTransactionFactory
RuleBasedTransactionFactory
⚓︎
- symbolchain.RuleBasedTransactionFactory.RuleBasedTransactionFactory
-
Rule based transaction factory.
__init__(module, type_converter=None, type_rule_overrides=None)
⚓︎
- symbolchain.RuleBasedTransactionFactory.RuleBasedTransactionFactory.__init__
-
Creates a rule based transaction factory for use with catbuffer generated code.
add_array_parser(name)
⚓︎
- symbolchain.RuleBasedTransactionFactory.RuleBasedTransactionFactory.add_array_parser
-
Creates array type parser, based on some existing element type parser.
add_enum_parser(name)
⚓︎
- symbolchain.RuleBasedTransactionFactory.RuleBasedTransactionFactory.add_enum_parser
-
Creates enum type parser.
add_flags_parser(name)
⚓︎
- symbolchain.RuleBasedTransactionFactory.RuleBasedTransactionFactory.add_flags_parser
-
Creates flag type parser.
add_pod_parser(name, pod_class)
⚓︎
- symbolchain.RuleBasedTransactionFactory.RuleBasedTransactionFactory.add_pod_parser
-
Creates wrapper for SDK POD types.
add_struct_parser(name)
⚓︎
- symbolchain.RuleBasedTransactionFactory.RuleBasedTransactionFactory.add_struct_parser
-
Creates struct parser (to allow nested parsing).
autodetect()
⚓︎
- symbolchain.RuleBasedTransactionFactory.RuleBasedTransactionFactory.autodetect
-
Autodetects rules using reflection.
create_from_factory(factory, descriptor)
⚓︎
- symbolchain.RuleBasedTransactionFactory.RuleBasedTransactionFactory.create_from_factory
-
Creates an entity from a descriptor using a factory.