fixed changing ports inreceiver, included receiver config file

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@351 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-11-20 16:50:36 +00:00
parent 97ed3e8872
commit ffd392c7eb
6 changed files with 153 additions and 99 deletions

View File

@ -21,9 +21,12 @@ class slsReceiverFuncs : private virtual slsDetectorDefs {
public:
/**
* Constructor
* @param socket tcp socket connecting receiver and client
* reads config file, creates socket, assigns function table
* @param mySocket tcp socket connecting receiver and client
* @param fname name of config file
* @param success if socket creation was successfull
*/
slsReceiverFuncs(MySocketTCP *socket);
slsReceiverFuncs(MySocketTCP *&mySocket,string const fname,int &success);
/** Destructor */
virtual ~slsReceiverFuncs(){};
@ -89,11 +92,10 @@ public:
/** Execute command */
int exec_command();
private:
/** Socket */
MySocketTCP *socket;
MySocketTCP*& socket;
/** slsReceiverFunctionList object */
slsReceiverFunctionList *slsReceiverList;