TML Messaging Suite  1.1.5
for Java
 All Classes Namespaces Functions Variables Groups Pages
void com.tmlsidex.jni.Tml.tml_Bal_Set_OnPopulate ( long  coreHandle,
String  profile,
TmlJniBalPopulateHandlerIF  cbInstance,
Object  cbData 
) throws TmlSidexException

register on populate handler (balancer)

If no message receivers are registered for load balancing and a load balanced command is send, the OnPopulate handler can register or reregister peers to receive the request.

Parameters
coreHandleTML core handle (TML_CORE_HANDLE)
profileprofile name
cbInstanceinstance of an implementation of the callback method interface / set null for deregistration
cbDatacustom data or null / set null for deregistration
Exceptions
TmlSidexException
See also
Tml::tml_Bal_Send_SyncMessage(long, long, String, long)