37 #ifndef FIX8_MESSAGEBUS_HPP_
38 #define FIX8_MESSAGEBUS_HPP_
87 virtual bool start() {
return true; }
90 virtual bool stop() {
return true; }
110 #endif // FIX8_MESSAGEBUS_HPP_
virtual bool subscribe(MessageBusSubscriber *subscriber, const f8String &topic)
virtual bool publish(const f8String &topic, const GenericMessage *msg)
virtual ~MessageBusSubscriber()
Dtor.
virtual bool receive_message(const GenericMessage *msg)
virtual bool unsubscribe(MessageBusSubscriber *subscriber, const f8String &topic)
virtual ~MessageBus()
Dtor.
Encapsulates a message bus context.
Base class for our message.
virtual ~GenericMessage()
Dtor.
Base class for our subscriber.
virtual MessageBusSubscriber * subscribe(const f8String &topic)