twisted.conch.test.test_transport.MockService(service.SSHService)
class documentationtwisted.conch.test.test_transport
(View In Hierarchy)
A mocked-up service, based on twisted.conch.ssh.service.SSHService.
Instance Variable | started | True if this service has been started. |
Instance Variable | stopped | True if this service has been stopped. |
Method | logPrefix | Override this method to insert custom logging behavior. Its return value will be inserted in front of every line. It may be called more times than the number of output lines. |
Method | serviceStarted | Record that the service was started. |
Method | serviceStopped | Record that the service was stopped. |
Method | ssh_TEST | A message that this service responds to. |
Inherited from SSHService:
Method | packetReceived | called when we receive a packet on the transport |
Override this method to insert custom logging behavior. Its return value will be inserted in front of every line. It may be called more times than the number of output lines.