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

void Impala::Core::Trec::TextSearchConnector::Connect (  )  [inline]

Definition at line 36 of file TextSearchConnector.h.

References ILOG_DEBUG, mConnected, mSocket, mTextPort, and mTextServer.

Referenced by Query().

00037     {
00038         if (mConnected)
00039             return;
00040         ILOG_DEBUG("establishing connection... ");
00041         try {
00042             mSocket = new TCPSocket(mTextServer, mTextPort);
00043         } catch (SocketException e) {
00044             ILOG_DEBUG("Could not connect to server.");
00045             mConnected = false;
00046             return;
00047         }
00048         mConnected = true;
00049         ILOG_DEBUG("connection established.");
00050     }


Generated on Fri Mar 19 11:25:55 2010 for ImpalaSrc by  doxygen 1.5.1