CMS 3D CMS Logo

HCAL_HLX Namespace Reference


Classes

class  HTMLGenerator
class  ROOTFileBase
class  ROOTFileMerger
class  ROOTFileReader
class  ROOTSchema
class  TCPReceiver
class  TimeStamp

Functions

void SetupFDSets (fd_set &ReadFDs, fd_set &WriteFDs, fd_set &ExceptFDs, int ListeningSocket=-1, int connectSocket=-1)


Function Documentation

void HCAL_HLX::SetupFDSets ( fd_set &  ReadFDs,
fd_set &  WriteFDs,
fd_set &  ExceptFDs,
int  ListeningSocket = -1,
int  connectSocket = -1 
)

Definition at line 45 of file TCPReceiver.cc.

Referenced by HCAL_HLX::TCPReceiver::ReceiveLumiSection().

00047                                          { //std::vector & gConnections) {
00048     FD_ZERO(&ReadFDs);
00049     FD_ZERO(&WriteFDs);
00050     FD_ZERO(&ExceptFDs);
00051 
00052     // Add the listener socket to the read and except FD sets, if there
00053     // is one.
00054     if (ListeningSocket != -1) {
00055         FD_SET(ListeningSocket, &ReadFDs);
00056         FD_SET(ListeningSocket, &ExceptFDs);
00057     }
00058 
00059     if (connectSocket != -1) {
00060       FD_SET(connectSocket, &ReadFDs);
00061       FD_SET(connectSocket, &ExceptFDs);
00062     }
00063 }


Generated on Tue Jun 9 18:47:22 2009 for CMSSW by  doxygen 1.5.4