Name | |
---|---|
class | MamaPublishTopic |
Name | |
---|---|
void | create(MamaTransport transport, MamaQueue queue, MamaDQPublisherManagerCallback callback, String source) |
void | create(MamaTransport transport, MamaQueue queue, MamaDQPublisherManagerCallback callback, String source, String root) |
void | destroy() |
void | addPublisher(String symbol, MamaDQPublisher publisher, MamaSubscriptionCallback cache) |
MamaDQPublisher | removePublisher(String symbol) |
void | destroyPublisher(String symbol) |
MamaDQPublisher | createPublisher(String symbol, Object cache) |
void | setStatus(int status) |
void | setSeqNum(long seqNum) |
void | setSenderId(long id) |
void | sendSyncRequest(int numMsg, double delay, double duration) |
void | sendNoSubscribers(String symbol) |
Object | getCache(String symbol) |
MamaDQPublisher | getPublisher(String symbol) |
class com::wombat::mama::MamaDQPublisherManager;
See: Mama
The [MamaDQPublisherManager](classcom_1_1wombat_1_1mama_1_1MamaDQPublisherManager.html)
interface represents a collection of subscriptions. It has the ability to provide all the aspects of a Mama Publisher including initials, recaps, and data quality.
inline void create(
MamaTransport transport,
MamaQueue queue,
MamaDQPublisherManagerCallback callback,
String source
)
Parameters:
Create in instance of the MamaDQPublisherManager
inline void create(
MamaTransport transport,
MamaQueue queue,
MamaDQPublisherManagerCallback callback,
String source,
String root
)
Parameters:
Create in instance of the MamaDQPublisherManager
inline void destroy()
Destroy the instance of the MamaDQPublisherManager
inline void addPublisher(
String symbol,
MamaDQPublisher publisher,
MamaSubscriptionCallback cache
)
Parameters:
Add a new Publisher to the MamaDQPublisherManager
inline MamaDQPublisher removePublisher(
String symbol
)
Parameters:
Remove a Publisher from the MamaDQPublisherManager
inline void destroyPublisher(
String symbol
)
Parameters:
Remove a Publisher from the MamaDQPublisherManager
inline MamaDQPublisher createPublisher(
String symbol,
Object cache
)
Parameters:
Return: MamaDQPublisher The newly created MamaDQPublisher
Create a new Publisher and associate it with the MamaDQPublisherManager
inline void setStatus(
int status
)
Parameters:
Set the status for the MamaDQPublisherManager
inline void setSeqNum(
long seqNum
)
Parameters:
Set the message sequence number for the MamaDQPublisherManager
inline void setSenderId(
long id
)
Parameters:
Set the sender ID for the MamaDQPublisherManager
inline void sendSyncRequest(
int numMsg,
double delay,
double duration
)
Parameters:
Send out a synchronization request from the MamaDQPublisherManager
inline void sendNoSubscribers(
String symbol
)
Parameters:
Publish a NO_SUBSCRIBERS message for the given symbol
static inline Object getCache(
String symbol
)
Parameters:
Return: The cache associated with the symbol/publisher
Accessor for the internal ArrayList that contains all the current publishers
static inline MamaDQPublisher getPublisher(
String symbol
)
Parameters:
Return: The MamaDQPublisher associated with the given symbol
Accessor for the internal ArrayList that contains all the current publishers
Updated on 2023-03-31 at 15:29:42 +0100