mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
add factory classes
This commit is contained in:
23
fairmq/FairMQTransportFactoryZMQ.cxx
Normal file
23
fairmq/FairMQTransportFactoryZMQ.cxx
Normal file
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* FairMQTransportFactoryZMQ.cxx
|
||||
*
|
||||
* @since 2014-01-20
|
||||
* @author: A. Rybalchenko
|
||||
*/
|
||||
|
||||
#include "FairMQTransportFactoryZMQ.h"
|
||||
|
||||
FairMQTransportFactoryZMQ::FairMQTransportFactoryZMQ()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
FairMQMessage* FairMQTransportFactoryZMQ::CreateMessage()
|
||||
{
|
||||
return new FairMQMessageZMQ();
|
||||
}
|
||||
|
||||
FairMQSocket* FairMQTransportFactoryZMQ::CreateSocket(FairMQContext* context, int type, int num)
|
||||
{
|
||||
return new FairMQSocketZMQ(context, type, num);
|
||||
}
|
Reference in New Issue
Block a user