|
| RecvTransportEngine (Config const &cfg, OutputBuffer &outputBuffer, MsgArbitrator arb=NoOpArb()) |
| ctor More...
|
|
void | rotate () |
| if the user choose no to have a Context to manage and run the engine this method can be called from any thread from time to time to have the engine do its job More...
|
|
void | messageDispatchingStartedCb (uint16_t threadSerialNumber) override |
| start the show by schedule the message recv
|
|
void | stoppedCb (std::exception const &e) override |
| should not happen ever unless an exception thrown More...
|
|
void | invokedCb (uint16_t threadSerialNumber) HMBDC_RESTRICT override |
| power the io_service and other things
|
|
void | handleMessageCb (Subscribe const &t) |
| only used by MD
|
|
void | handleMessageCb (Unsubscribe const &t) |
| only used by MD
|
|
void | handleMessageCb (TopicSource const &t) |
| only used by MD
|
|
void | schedule (SysTime fireAt, Timer &timer) |
| schedule the timer to start at a specific time More...
|
|
void | cancel (Timer &timer) |
| cancel a timer previously scheduled with the TimerManager More...
|
|
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 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
|
|
template<typename OutputBuffer, typename MsgArbitrator>
struct hmbdc::app::tcpcast::recvtransportengine_detail::RecvTransportEngine< OutputBuffer, MsgArbitrator >
impl class
this needs to be created using NetContext and start in an app::Context
- Template Parameters
-
OutputBuffer | type of buffer to hold resulting network messages |