'Assemble the ping request and send the data to MMS'

def sendDataToMms(self):

    data = None
    try:
        self.hostStateLock.acquire()
        if ((self.hostState is not None) and (len(self.hostState) > 0)):
            data = self._assemblePingRequest()
    finally:
        self.hostStateLock.release()
    if (data is None):
        return
    self._handleRemote(data)
