hmbdc
simplify-high-performance-messaging-programming
Public Member Functions | List of all members
hmbdc::tips::udpcast::recvtransportengine_detail::RecvTransportEngineImpl< OutputBuffer > Struct Template Reference
Inheritance diagram for hmbdc::tips::udpcast::recvtransportengine_detail::RecvTransportEngineImpl< OutputBuffer >:
hmbdc::tips::udpcast::recvtransportengine_detail::RecvTransportImpl< OutputBuffer > hmbdc::app::Client< RecvTransportEngineImpl< OutputBuffer > > hmbdc::tips::udpcast::RecvTransport hmbdc::tips::udpcast::Transport hmbdc::tips::udpcast::EpollFd hmbdc::app::utils::EpollFd

Public Member Functions

void invokedCb (size_t) HMBDC_RESTRICT override
 power the io_service and other things
 
void stoppedCb (std::exception const &e) override
 should not happen ever unless an exception thrown More...
 
- Public Member Functions inherited from hmbdc::tips::udpcast::recvtransportengine_detail::RecvTransportImpl< OutputBuffer >
void start ()
 start the show by schedule the mesage recv
 
- Public Member Functions inherited from hmbdc::app::Client< RecvTransportEngineImpl< OutputBuffer > >
char const * hmbdcName () const
 return the name of thread that runs this client, override if necessary More...
 
std::tuple< char const *, int > schedSpec () const
 an overrideable method. returns the schedule policy and priority, override if necessary priority is only used when policy is "SCHED_RR", or "SCHED_FIFO" More...
 
size_t maxBatchMessageCount () const
 an overridable method. client receives events in batches and the max batch size is controllable when running in direct mode Context. Here is to specify the max size. More...
 
virtual void messageDispatchingStartedCb (size_t const *pClientDispatchingStarted)
 called before any messages got dispatched - only once More...
 
virtual bool droppedCb ()
 callback called after the Client is safely taken out of the Context More...
 
virtual ~Client ()
 trivial
 
void stopped (std::exception const &e) noexcept
 the following are for internal use, don't change or override
 

Additional Inherited Members

- Protected Member Functions inherited from hmbdc::app::Client< RecvTransportEngineImpl< OutputBuffer > >
void batchDone ()
 the derived user's Client has the option to stop the current batch of event dispatching. More...
 

Member Function Documentation

◆ stoppedCb()

template<typename OutputBuffer >
void hmbdc::tips::udpcast::recvtransportengine_detail::RecvTransportEngineImpl< OutputBuffer >::stoppedCb ( std::exception const &  e)
inlineoverridevirtual

should not happen ever unless an exception thrown

Parameters
eexception thown

Reimplemented from hmbdc::app::Client< RecvTransportEngineImpl< OutputBuffer > >.


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