Reimplemented in Impala::Application::FileServer, and Impala::Job::Server. Definition at line 336 of file ChannelServer.h. References ILOG_INFO, mAuthorization, mChannel, mDoDynaPorts, mFirstDynaPort, mFirstPort, mLastDynaPort, mNrOfPorts, mPasswordFile, mRunning, and mTimer. Referenced by ChannelServer(), and Impala::Application::DataServer::DataServer(). 00337 { 00338 mChannel = 0; 00339 mRunning = false; 00340 mTimer = 1; 00341 00342 // need at least 2 ports for dynamic port assignment 00343 mDoDynaPorts = mDoDynaPorts && (mNrOfPorts > 1); 00344 if (mDoDynaPorts) 00345 { 00346 mFirstDynaPort = mFirstPort + 1; 00347 int nrOfDynaPorts = mNrOfPorts - 1; 00348 mLastDynaPort = mFirstPort + nrOfDynaPorts; 00349 ILOG_INFO("Using dynamic port assignment"); 00350 } 00351 else 00352 { 00353 mFirstDynaPort = -1; 00354 mLastDynaPort = -1; 00355 ILOG_INFO("Not using dynamic port assignment"); 00356 } 00357 00358 mAuthorization = ChannelAuthorization(mPasswordFile); 00359 }
|