def joinComplete(self, joinStatus, clientStatusCallback):
     '''This method gets called when the join is completed either
        successfully or failed.
     '''
     
     if joinStatus == True:
         log.msg("JOIN WAS SUCCESSFUL")
         self.chordNode.addMessageObserver(self.processMessage)
     else:
         log.msg("JOIN FAILED")
         Utils.showError(joinStatus)
             
     # Now call the client's status callback and include the auth payload from the authentication node.
     if clientStatusCallback is not None:
         clientStatusCallback(joinStatus, self.chordNode.joinAuthPayload)