Add REQ-REP zmq/nn sockets to FairMQ together with a little example program.

Also includes example of using boost::program_options.
This commit is contained in:
Alexey Rybalchenko
2014-10-10 18:36:44 +02:00
parent bd79420f93
commit 9317f06c10
11 changed files with 519 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence version 3 (LGPL) version 3, *
* copied verbatim in the file "LICENSE" *
********************************************************************************/
/**
* FairMQExampleServer.h
*
* @since 2014-10-10
* @author A. Rybalchenko
*/
#ifndef FAIRMQEXAMPLESERVER_H_
#define FAIRMQEXAMPLESERVER_H_
#include "FairMQDevice.h"
class FairMQExampleServer : public FairMQDevice
{
public:
FairMQExampleServer();
virtual ~FairMQExampleServer();
static void CustomCleanup(void *data, void* hint);
protected:
virtual void Run();
};
#endif /* FAIRMQEXAMPLESERVER_H_ */