pyfarm.agent.manhole module¶
Manhole¶
Provides a way to access the internals of the agent via the telnet protocol.
- class pyfarm.agent.manhole.LoggingManhole(namespace=None)[source]¶
Bases: twisted.conch.manhole.ColoredManhole
A slightly modified implementation of ColoredManhole which logs information to the logger so we can track activity in the agent’s log.
- class pyfarm.agent.manhole.TransportProtocolFactory(portal)[source]¶
Bases: object
Glues together a portal along with the TelnetTransport and AuthenticatingTelnetProtocol objects. This class is instanced onto the protocol attribute of the ServerFactory class in build_manhole().
- class pyfarm.agent.manhole.TelnetRealm[source]¶
Bases: object
Wraps together ITelnetProtocol, TelnetBootstrapProtocol, ServerProtocol and ColoredManhole in requestAvatar() which will provide the interface to the manhole.
- NAMESPACE = None¶