'Set our service to service and start it running.  If we were
running a service previously, stop it first.
@type service: C{SSHService}
@param service: The service to attach.'

def setService(self, service):

    log.msg(('starting    service    %r' % (service.name,)))
    if self.service:
        self.service.serviceStopped()
    self.service = service
    service.transport = self
    self.service.serviceStarted()
