UM Java API  6.16
com.latencybusters.lbm.LBMTopic Class Reference

Public Member Functions

 LBMTopic (LBMContext lbmctx, String symbol) throws LBMException
 
 LBMTopic (LBMContext lbmctx, String symbol, LBMReceiverAttributes lbmrattr) throws LBMException
 
 LBMTopic (LBMContext lbmctx, String symbol, LBMSourceAttributes lbmsattr) throws LBMException
 
synchronized boolean setReceiver ()
 

Detailed Description

LBM Topic class. It is recommended that topic objects be instantiated from the LBMContext factory methods allocTopic and lookupTopic (for sources and receivers respectively).

Warning: It is not safe to instantiate this object from a context thread callback.

Constructor & Destructor Documentation

com.latencybusters.lbm.LBMTopic.LBMTopic ( LBMContext  lbmctx,
String  symbol 
) throws LBMException

Turn a Topic string into an LBMTopic object usable by receivers. (Note: This constructor cannot be used to initialize a source topic.) It is recommended that topic objects be instantiated from the LBMContext factory methods allocTopic and lookupTopic (for sources and receivers respectively).

Warning: It is not safe to call this constructor from a context thread callback.

Parameters
lbmctxLBMContext object for the topic
symbolTopic string (Topic strings should be limited in length to 246 characters, not including the final null).
Exceptions
LBMExceptionif any topic lookup error occurs.
See also
LBMReceiver
com.latencybusters.lbm.LBMTopic.LBMTopic ( LBMContext  lbmctx,
String  symbol,
LBMReceiverAttributes  lbmrattr 
) throws LBMException

Turn a Topic string into an LBMTopic object usable by receivers. It is recommended that topic objects be instantiated from the LBMContext factory methods allocTopic and lookupTopic (for sources and receivers respectively).

Warning: It is not safe to call this constructor from a context thread callback.

Parameters
lbmctxLBMContext object for the topic
symbolTopic string (Topic strings should be limited in length to 246 characters, not including the final null).
lbmrattrLBMReceiverAttributes object used to initialize the topic object.
Exceptions
LBMExceptionif any topic lookup error occurs.
See also
LBMReceiver
com.latencybusters.lbm.LBMTopic.LBMTopic ( LBMContext  lbmctx,
String  symbol,
LBMSourceAttributes  lbmsattr 
) throws LBMException

Turn a Topic string into an LBMTopic object usable by sources. It is recommended that topic objects be instantiated from the LBMContext factory methods allocTopic and lookupTopic (for sources and receivers respectively).

Warning: It is not safe to call this constructor from a context thread callback.

Parameters
lbmctxLBMContext object for the topic
symbolTopic string (Topic strings should be limited in length to 246 characters, not including the final null).
lbmsattrLBMSourceAttributes object used to initialize the topic object.
Exceptions
LBMExceptionif any topic allocation error occurs.
See also
LBMSource

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