hmbdc
simplify-high-performance-messaging-programming
Public Types | Public Member Functions | List of all members
hmbdc::app::mcast::SendTransport Struct Reference
Inheritance diagram for hmbdc::app::mcast::SendTransport:
hmbdc::app::mcast::Transport hmbdc::app::mcast::SendTransportEngine

Public Types

using ptr = std::shared_ptr< SendTransport >
 
- Public Types inherited from hmbdc::app::mcast::Transport
using ptr = std::shared_ptr< Transport >
 

Public Member Functions

 SendTransport (Config const &cfg, size_t maxMessageSize)
 
bool match (Topic const &t) const
 
template<typename... Messages>
void queue (Topic const &t, Messages &&...msgs)
 
template<typename... Messages>
bool tryQueue (Topic const &t, Messages &&...msgs)
 
template<typename Message , typename... Args>
void queueInPlace (Topic const &t, Args &&...args)
 
void queueBytes (Topic const &t, uint16_t tag, void const *bytes, size_t len)
 
void runOnce () __restrict__
 
void stop ()
 
boost::asio::ip::udp::socket & asioSocket ()
 expose so user can manipulate it More...
 
void initInThread ()
 
- Public Member Functions inherited from hmbdc::app::mcast::Transport
 Transport (Config const &cfg)
 
void initInThread ()
 
bool operator== (Transport const &other) const
 
bool operator< (Transport const &other) const
 

Additional Inherited Members

- Protected Types inherited from hmbdc::app::mcast::Transport
using Buffer = hmbdc::pattern::LockFreeBufferT< 1 >
 
- Protected Attributes inherited from hmbdc::app::mcast::Transport
string hmbdcName_
 
string schedPolicy_
 
int schedPriority_
 
Config const config_
 
std::shared_ptr< io_service > pIos_
 

Member Function Documentation

boost::asio::ip::udp::socket& hmbdc::app::mcast::SendTransport::asioSocket ( )
inline

expose so user can manipulate it

Returns
reference to boost::asio::ip::udp::socket

The documentation for this struct was generated from the following file: