public static StorageNode QueryStorageNodeForFile(string groupName, string fileid)
 {
     FDFSRequest trackerRequest = QUERY_FETCH_ONE.Instance.GetRequest(groupName, fileid);
     QUERY_FETCH_ONE.Response trackerResponse = new QUERY_FETCH_ONE.Response();
     trackerRequest.GetResponse(trackerResponse);
     IPEndPoint storeEndPoint = new IPEndPoint(IPAddress.Parse(trackerResponse.IPStr), trackerResponse.Port);
     StorageNode result = new StorageNode();
     result.GroupName = trackerResponse.GroupName;
     result.EndPoint = storeEndPoint;
     result.StorePathIndex = 0;
     return result;
 }
        public static StorageNode QueryStorageNodeForFile(string groupName, string fileid)
        {
            FDFSRequest trackerRequest = QUERY_FETCH_ONE.Instance.GetRequest(groupName, fileid);

            QUERY_FETCH_ONE.Response trackerResponse = new QUERY_FETCH_ONE.Response();
            trackerRequest.GetResponse(trackerResponse);
            IPEndPoint  storeEndPoint = new IPEndPoint(IPAddress.Parse(trackerResponse.IPStr), trackerResponse.Port);
            StorageNode result        = new StorageNode();

            result.GroupName      = trackerResponse.GroupName;
            result.EndPoint       = storeEndPoint;
            result.StorePathIndex = 0;
            return(result);
        }