impl class
More...
#include <RecvTransportEngine.hpp>
template<typename OutputBuffer, typename MsgArbitrator = RecvTransport::NoOpArb>
class hmbdc::app::mcast::recvtransportengine_detail::RecvTransportImpl< OutputBuffer, MsgArbitrator >
impl class
- Template Parameters
-
OutputBuffer | type of buffer to hold resulting network messages |
MsgArbitrator | arbitrator to decide drop or keep messages, suited to arbitrate between different recv transport. By default, keeping all |
template<typename OutputBuffer , typename MsgArbitrator = RecvTransport::NoOpArb>
ctor
io_service could be passed in by user, in this case NO more than two threads should power this io_service instance since that would violate the thread garantee of Client, which is no callbacks are called in parallel
- Parameters
-
cfg | specify the details of the mcast transport |
outputBuffer | holding the results |
arb | arbitrator instance to decide which messages to drop and keep; it supports either raw udp packet (BEFORE topic filtering) or hmbdc udpcast message (AFTER topic filtering) level arbitration depending on which one of int operator()(void* bytes, size_t len) or int operator()(TransportMessageHeader const* header) presents in the arb |
template<typename OutputBuffer , typename MsgArbitrator = RecvTransport::NoOpArb>
expose so user can manipulate it
- Returns
- reference to boost::asio::ip::udp::socket
The documentation for this class was generated from the following file: