SSMI¶
Truteq SSMI Transport¶
TruTeq USSD transport.
-
class
vumi.transports.truteq.truteq.
TruteqTransport
(options, config=None)¶ Bases:
vumi.transports.base.Transport
A transport for TruTeq.
Currently only USSD messages are supported.
-
CONFIG_CLASS
¶ alias of
TruteqTransportConfig
-
service_class
¶ alias of
ReconnectingClientService
-
-
class
vumi.transports.truteq.truteq.
TruteqTransportConfig
(config_data, static=False)¶ Bases:
vumi.transports.base.TransportConfig
Configuration options:
Parameters: - amqp_prefetch_count (int) – The number of messages fetched concurrently from each AMQP queue by each worker instance.
- transport_name (str) – The name this transport instance will use to create its queues.
- publish_status (bool) – Whether status messages should be published by the transport
- username (str) – Username of the TruTeq account to connect to.
- password (str) – Password for the TruTeq account.
- twisted_endpoint (twisted_endpoint) – The endpoint to connect to.
- link_check_period (int) – Number of seconds between link checks sent to the server.
- ussd_session_lifetime (int) – Maximum number of seconds to retain USSD session information.
- debug (bool) – Print verbose log output.
- redis_manager (dict) – How to connect to Redis.
- host (str) – DEPRECATED ‘host’ and ‘port’ fields may be used in place of the ‘twisted_endpoint’ field.
- port (int) – DEPRECATED ‘host’ and ‘port’ fields may be used in place of the ‘twisted_endpoint’ field.