TlsFactoryLookup
- class mtf.network_port.tls.factory_lookup.TlsFactoryLookup
TlsFactoryLookup is a factory class responsible for creating instances of TLSClient and TLSServer.
This class maintains a registry of available factory types and provides a method to create instances based on the specified factory type and arguments.
- Attributes:
factories (dict): A dictionary mapping factory type names to their respective classes.
- factories = {'TLSClient': <class 'mtf.network_port.tls.client.TLSClient'>, 'TLSServer': <class 'mtf.network_port.tls.server.TLSServer'>}
- static create(factory_type, *args, **kwargs) TLSClient | TLSServer
Creates an instance of the specified factory type using the provided arguments.