5#define RESIPROCATE_SUBSYSTEM resip::Subsystem::REPRO
11 mDispatcher(dispatcher)
22 onMessage(
true, source, destination, msg);
28 onMessage(
false, source, destination, msg);
37 std::unique_ptr<ApplicationMessage> app(work);
38 if(mDispatcher.
post(app))
44 ErrLog(<<
"mDispatcher.post failed, maybe not accepting work");
static Token outbound(Symbols::Outbound)
virtual void onMessage(bool outbound, const resip::Tuple &source, const resip::Tuple &destination, const resip::SipMessage &msg)
virtual void outboundMessage(const resip::Tuple &source, const resip::Tuple &destination, const resip::SipMessage &msg)
PyRouteMessageHandler(resip::Dispatcher &dispatcher)
virtual ~PyRouteMessageHandler()
virtual void inboundMessage(const resip::Tuple &source, const resip::Tuple &destination, const resip::SipMessage &msg)
A generic thread-bank class.
virtual bool post(std::unique_ptr< resip::ApplicationMessage > &work)
Posts a message to this thread bank.
Represents a SIP message.
Represents a network address.
This Class is used to implement a primitive form of RPC using loose XML formatting.
dcm! – add UnusedChecking(_enum) below;