This method of the Service Class changes the value of the service, based on a ServiceStatus object.
protected synchronized final boolean setServiceStatus(ServiceStatus newstatus);
Returns true if the status was updated; returns false if the newstatus parameter is not correct or the status could not be updated.
newstatus | The value that the service status is set to. The state in newstatus is copied to the current status. |