mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
remove alternative serialization API
This commit is contained in:
@@ -75,8 +75,10 @@ class GenericFileSink : public FairMQDevice, public T, public U
|
||||
int receivedMsg = 0;
|
||||
while (CheckCurrentState(RUNNING))
|
||||
{
|
||||
if (Receive<deserializer_type>(fInput, "data-in") > 0)
|
||||
std::unique_ptr<FairMQMessage> msg(NewMessage());
|
||||
if (Receive(msg,"data-in") > 0)
|
||||
{
|
||||
Deserialize<deserializer_type>(*msg,fInput);
|
||||
U::Serialize(fInput);// add fInput to file
|
||||
receivedMsg++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user