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

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

Definition at line 355 of file FileSystem.h.

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

Referenced by GetWritableFile().

00356     {
00357         char* buf = mDataChannel->Buffer();
00358         sprintf(buf, "getwritablefile \"%s\" \"%s\" %d %d\0", file.c_str(),
00359                 mDataString.c_str(), silent, mOverride);
00360         int len = mDataChannel->SendRequest(strlen(buf)+1);
00361         if (mDataChannel->LastSendHadError())
00362             return "";
00363         buf[len] = 0;
00364         String res(buf);
00365         ILOG_DEBUG("Got file [" << res << "] from " << mDataServer);
00366         return res;
00367     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:35:22 2010 for ImpalaSrc by  doxygen 1.5.1