Close the channel.
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:
|