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
started =
True if this service has been started.
stopped =
True if this service has been stopped.
def logPrefix(self):

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.

def serviceStarted(self):

Record that the service was started.

def serviceStopped(self):

Record that the service was stopped.

def ssh_TEST(self, packet):

A message that this service responds to.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.