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

void Impala::Util::Channel::Close (  )  [inline]

Close the channel.

  • SK: Only used from client side of channels?

Definition at line 351 of file Channel.h.

References CloseSocket(), HandleDisconnect(), HandleInfo(), Impala::Util::MakeString(), mIsServer, mPort, mServerName, and mSock.

Referenced by ~Channel().

00352     {
00353         for (int i=0 ; i<mSock.size() ; i++)
00354         {
00355             String conn = mServerName;
00356             int port = mPort + i;
00357             HandleInfo("Closing connection to " + conn + ":" + MakeString(port));
00358             CloseSocket(mSock[i]);
00359             HandleDisconnect(port);
00360         }
00361 
00362 #ifndef unix
00363         if (mIsServer)
00364             WSACleanup();
00365 #endif
00366     }

Here is the call graph for this function:


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