Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

String Impala::Persistency::FileSystem::GetReadableFileServer ( CString  file,
bool  silent 
) [inline, private]

Definition at line 408 of file FileSystem.h.

References Impala::Util::Channel::Buffer(), ILOG_DEBUG, Impala::Util::Channel::LastSendHadError(), mDataChannel, mDataServer, mDataString, and Impala::Util::Channel::SendRequest().

Referenced by GetReadableFile().

00409     {
00410         char* buf = mDataChannel->Buffer();
00411         sprintf(buf, "getreadablefile \"%s\" \"%s\" %d\0", file.c_str(),
00412                 mDataString.c_str(), silent);
00413         int len = mDataChannel->SendRequest(strlen(buf)+1);
00414         if (mDataChannel->LastSendHadError())
00415             return "";
00416         buf[len] = 0;
00417         String res(buf);
00418         ILOG_DEBUG("Got file [" << res << "] from " << mDataServer);
00419         return res;
00420     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:53 2011 for ImpalaSrc by  doxygen 1.5.1