UM Java API  6.16.1
com.latencybusters.lbm.LBMWildcardPatternCallback Interface Reference

Public Member Functions

int comparePattern (String topic, Object cbArg)
 

Detailed Description

Interface used for wildcard receiver application callback pattern types

Member Function Documentation

int com.latencybusters.lbm.LBMWildcardPatternCallback.comparePattern ( String  topic,
Object  cbArg 
)

Callback function called when a pattern match is desired for a topic discovered for a wildcard receiver. The function does not use an event queue.

Parameters
topicTopic string to evaluate
cbArgCallback object token
Returns
0 - indicates that the given topic should be considered part of the wildcard, 1 or more - indicates that the topic should not be considered matching the wildcard.
See also
LBMWildcardReceiverAttributes::setPatternCallback

Referenced by com.latencybusters.lbm.LBMWildcardReceiver.comparePattern().


The documentation for this interface was generated from the following file: