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

bool Impala::Util::ChannelProxy::GetChannel (  )  [inline]

Definition at line 34 of file ChannelProxy.h.

References ChannelIsValid(), Impala::Util::ChannelPool::Get(), Impala::Util::Channel::GetPortNumber(), ILOG_ERROR, ILOG_INFO, Impala::Util::ChannelPool::Instance(), mChannel, mPasswordFile, mPort, and mServer.

Referenced by Impala::Job::Runner::Connect(), Impala::Core::VideoJob::ServerProxy::Connect(), and Impala::Core::IDash::Client::Connect().

00035     {
00036         ILOG_INFO("Need a channel to " << mServer << ":" << mPort);
00037         mChannel = ChannelPool::Instance().Get(mServer, mPort, mPasswordFile);
00038         if (ChannelIsValid())
00039         {
00040             ILOG_INFO("Open channel to " << mServer << " available at port " <<
00041                       mChannel->GetPortNumber(0));
00042             return true;
00043         }
00044         else
00045         {
00046             ILOG_ERROR("No valid channel to " << mServer << ":" << mPort);
00047             return false;
00048         }
00049     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:39:37 2010 for ImpalaSrc by  doxygen 1.5.1