def receive_partner_request_complete_commit(self,msg):
     '''
     @param {PartnerCompleteCommitRequest.proto} msg
     '''
     partner_request_complete_commit_action = (
         waldoServiceActions._ReceiveRequestCompleteCommitAction(
             self.endpoint,msg.event_uuid.data,True))
     self.threadsafe_queue.put(partner_request_complete_commit_action)
    def receive_request_complete_commit(self,event_uuid,request_from_partner):
        '''
        Another endpoint (either on the same host as I am or my
        partner) asked me to complete the second phase of the commit
        for an event with uuid event_uuid.
        
        @param {uuid} event_uuid --- The uuid of the event we are
        trying to commit.

        @param {bool} request_from_partner --- True if the request to
        complete the commit came from my partner, false otherwise (the
        request came from an endpoint on the same host as I am)
        '''
        req_complete_commit_action = (
            waldoServiceActions._ReceiveRequestCompleteCommitAction(
                self.endpoint,event_uuid,request_from_partner))
        
        self.threadsafe_queue.put(req_complete_commit_action)