#include <MamaBasicWildCardSubscription.h>
Inherits from Wombat::MamaBasicSubscription
Name | |
---|---|
virtual | ~MamaBasicWildCardSubscription() |
MamaBasicWildCardSubscription(void ) | |
virtual void | create(MamaTransport * transport, MamaQueue * queue, MamaBasicWildCardSubscriptionCallback * callback, const char * source, const char * topic, void * closure =NULL) |
virtual const char * | getSymbol(void ) const |
virtual const char * | getSource(void ) const |
virtual void * | getTopicClosure() const |
virtual void | setTopicClosure(void * closure) |
virtual void | muteCurrentTopic(void ) |
virtual MamaBasicWildCardSubscriptionCallback * | getBasicWildCardCallback(void ) const |
Public Functions inherited from Wombat::MamaBasicSubscription
Name | |
---|---|
virtual | ~MamaBasicSubscription() |
MamaBasicSubscription(void ) | |
virtual void | createBasic(MamaTransport * transport, MamaQueue * queue, MamaBasicSubscriptionCallback * callback, const char * topic, void * closure =NULL) |
virtual void | createBasic(MamaTransport * transport, MamaQueue * queue, MamaSubscriptionCallback * callback, const char * topic, void * closure =NULL) |
virtual void | destroy() |
virtual void | destroyEx() |
virtual bool | isActive(void ) const |
virtual const char * | getTopic(void ) const |
virtual MamaTransport * | getTransport(void ) const |
virtual MamaBasicSubscriptionCallback * | getBasicCallback(void ) const |
virtual MamaQueue * | getQueue(void ) const |
virtual void | setClosure(void * closure) |
virtual void * | getClosure(void ) const |
virtual void | setDebugLevel(MamaLogLevel level) |
virtual MamaLogLevel | getDebugLevel() const |
virtual bool | checkDebugLevel(MamaLogLevel level) const |
virtual mamaSubscriptionState | getState(void ) |
Protected Attributes inherited from Wombat::MamaBasicSubscription
Name | |
---|---|
void * | mClosure |
MamaQueue * | mQueue |
mamaSubscription | mSubscription |
MamaTransport * | mTransport |
class Wombat::MamaBasicWildCardSubscription;
See: Mama
Author: Michael Schonberg copyright 2003 Wombat Consulting Inc.
The [MamaBasicWildCardSubscription](classWombat_1_1MamaBasicWildCardSubscription.html)
interface represents a subscription to a topic with no market data semantics.
virtual ~MamaBasicWildCardSubscription()
The destructor will call [destroy()](classWombat_1_1MamaBasicSubscription.html#function-destroy)
if the subscription has not already been destroyed.
MamaBasicWildCardSubscription(
void
)
Constructor. Call createBasicWildCard() to activate the subscription.
virtual void create(
MamaTransport * transport,
MamaQueue * queue,
MamaBasicWildCardSubscriptionCallback * callback,
const char * source,
const char * topic,
void * closure =NULL
)
Parameters:
Create a basic wild card subscription without market data semantics.
If the topic is NULL for WMW, this method creates a “transport” subscription that subscribes to all the topics from publishers with the the “publish_name” property equal to the source value.
virtual const char * getSymbol(
void
) const
Return: The topic.
Return the symbol for this subscription.
virtual const char * getSource(
void
) const
Return: The topic.
Return the source for this subscription.
virtual void * getTopicClosure() const
Get the closure for the specific wildcard topic.
This method may only be called from the onMsg callback.
@ return The closure specified by ::setTopicClosure() or NULL if no topic closure set.
virtual void setTopicClosure(
void * closure
)
Set the topic closure for the current message’s topic.
This method can only be invoked from the onMsg() callback.
@prarm closure The closure.
virtual void muteCurrentTopic(
void
)
For “transport” subscriptions (WMW only) stop processing messages for the current topic.
virtual MamaBasicWildCardSubscriptionCallback * getBasicWildCardCallback(
void
) const
Return: the callback.
Return the [MamaSubscriptionCallback](classWombat_1_1MamaSubscriptionCallback.html)
for this subscription.
Updated on 2023-03-31 at 15:29:25 +0100