Telnet¶
Telnet Transport¶
Transport that sends and receives to telnet clients.
-
class
vumi.transports.telnet.telnet.
TelnetServerConfig
(config_data, static=False)¶ Bases:
vumi.transports.base.TransportConfig
Telnet transport configuration.
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
- twisted_endpoint (twisted_endpoint) – The endpoint the Telnet server will listen on.
- to_addr (str) – The to_addr to use for inbound messages. The default is to use the host:port of the telnet server.
- transport_type (str) – The transport_type to use for inbound messages.
- telnet_host (str) – DEPRECATED ‘telnet_host’ and ‘telnet_port’ fields may be used inplace of the ‘twisted_endpoint’ field.
- telnet_port (int) – DEPRECATED ‘telnet_host’ and ‘telnet_port’ fields may be used in place of the ‘twisted_endpoint’ field.
-
class
vumi.transports.telnet.telnet.
TelnetServerTransport
(options, config=None)¶ Bases:
vumi.transports.base.Transport
Telnet based transport.
This transport listens on a specified port for telnet clients and routes lines to and from connected clients.
-
CONFIG_CLASS
¶ alias of
TelnetServerConfig
-
protocol
¶ alias of
TelnetTransportProtocol
-
-
class
vumi.transports.telnet.telnet.
TelnetTransportProtocol
(vumi_transport)¶ Bases:
twisted.conch.telnet.TelnetProtocol
Extends Twisted’s TelnetProtocol for the Telnet transport.