mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Hide actual container from the API
This commit is contained in:
committed by
Dennis Klein
parent
39cb021827
commit
91b31f0799
@@ -200,7 +200,7 @@ class Socket final : public fair::mq::Socket
|
||||
}
|
||||
}
|
||||
|
||||
int64_t Send(std::vector<MessagePtr>& msgVec, int timeout = -1) override
|
||||
int64_t Send(Parts::container& msgVec, int timeout = -1) override
|
||||
{
|
||||
int flags = 0;
|
||||
if (timeout == 0) {
|
||||
@@ -260,7 +260,7 @@ class Socket final : public fair::mq::Socket
|
||||
return static_cast<int>(TransferCode::error);
|
||||
}
|
||||
|
||||
int64_t Receive(std::vector<MessagePtr>& msgVec, int timeout = -1) override
|
||||
int64_t Receive(Parts::container& msgVec, int timeout = -1) override
|
||||
{
|
||||
int flags = 0;
|
||||
if (timeout == 0) {
|
||||
|
Reference in New Issue
Block a user