|
TIBCO FTL®
|
Content matchers filter messages based on their content. More...
Typedefs | |
| typedef struct __tibContentMatcher * | tibContentMatcher |
| A content matcher object filters messages based on their content. More... | |
Functions | |
| TIB_API tibContentMatcher | tibContentMatcher_Create (tibEx e, tibRealm realm, const char *matchString) |
| Create a content matcher object. More... | |
| TIB_API void | tibContentMatcher_Destroy (tibEx e, tibContentMatcher matcher) |
Content matchers filter messages based on their content.
| typedef struct __tibContentMatcher* tibContentMatcher |
A content matcher object filters messages based on their content.
Programs may supply a content matcher object to tibSubscriber_Create.
| TIB_API tibContentMatcher tibContentMatcher_Create | ( | tibEx | e, |
| tibRealm | realm, | ||
| const char * | matchString | ||
| ) |
Create a content matcher object.
An application can create a matcher to register interest in a stream of messages.
Content matcher objects are not thread-safe.
Match Syntax:
{ "fieldname1" : value1 , ... , "fieldnameN" : valueN }
true or false. Match Semantics:
true, that field must be present in the message in order to match. false, that field must be absent from the message in order to match. | e | The exception object captures information about failures. |
| realm | The realm object is the source of configuration information about the application and formats. |
| matchString | This string determines message interest. |
NULL. | TIB_API void tibContentMatcher_Destroy | ( | tibEx | e, |
| tibContentMatcher | matcher | ||
| ) |
Destroy a content matcher object.
An application can destroy a content matcher object to reclaim its resources. Destroying a matcher does not invalidate objects created with the matcher. (For example, the subscriber creation call copies its matcher argument into the new subscriber.)
| e | The exception object captures information about failures. |
| matcher | The call destroys this content matcher object. |