Revision 904d298f src/lobby.cpp

View differences:

src/lobby.cpp
36 36
#include <iostream>
37 37
#include <unistd.h>
38 38

  
39
Lobby::Lobby(const std::string &socketFilename, TunerManager *tm, 
40
	     ConnectionManager *cm, Scheduler *scheduler)
39
Lobby::Lobby(const std::string &socketFilename,
40
	     const std::string &socketUid,
41
	     const std::string &socketGid,
42
	     const std::string &socketMode,
43
	     TunerManager *tm, 
44
	     ConnectionManager *cm, 
45
	     Scheduler *scheduler)
41 46
  : tm(tm), cm(cm), scheduler(scheduler)
42 47
{
43
  server = new UnixServerSocket(socketFilename);
48
  server = new UnixServerSocket(socketFilename, socketUid, socketGid, socketMode);
44 49
  server->setNonBlocking();
45 50
  setRandomSeed();
46 51
}

Also available in: Unified diff