    def stringToProxy(self, servantProxy, connAddr):
        '''
        @brief: 初始化ServantProxy
        @param connAddr: 服务器地址信息
        @type connAddr: str
        @param servant: servant proxy
        @type servant: ServantProxy子类
        @return: 无
        @rtype: None
        @note: 如果connAddr的ServantObj连接过，返回连接过的ServantProxy
               如果没有连接过，用参数servant初始化，返回servant
        '''
        tarsLogger.debug('Communicator:stringToProxy')

        connInfo = self.parseConnAddr(connAddr)
        objName = connInfo['name']
        if objName in self.__servants:
            return self.__servants[objName]

        objectPrx = ObjectProxy()
        objectPrx.initialize(self, connInfo)

        servantPrx = servantProxy()
        servantPrx._initialize(self.__reactor, objectPrx)
        self.__objects[objName] = objectPrx
        self.__servants[objName] = servantPrx
        return servantPrx
@brief: 初始化ServantProxy
@param connAddr: 服务器地址信息
@type connAddr: str
@param servant: servant proxy
@type servant: ServantProxy子类
@return: 无
@rtype: None
@note: 如果connAddr的ServantObj连接过，返回连接过的ServantProxy
如果没有连接过，用参数servant初始化，返回servant
biliup/Danmaku/tars/__rpc.py