Definition at line 51 of file Client.h. References ILOG_ERROR, IsConnected(), mChannelProxy, and Impala::Util::ChannelProxy::Send(). Referenced by Impala::Application::IDash::mainIDashServer(). 00052 { 00053 if (!IsConnected()) 00054 return "ERROR: 500: Not connected to IDash server"; 00055 00056 String request = "ScheduleJob:baseUri=" + baseUri + ";job=" + job; 00057 String response = mChannelProxy->Send(request); 00058 if (response.substr(0, 19) == "JobAccepted:jobRef=") 00059 { 00060 String res = response.substr(19); 00061 return res; 00062 } 00063 ILOG_ERROR("ScheduleJob failed: " << response); 00064 00065 return response; 00066 }
Here is the call graph for this function:
|