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

register load balancing calculation handler

Evaluate load information returned by the status request handlers of registered command receivers to calculate the index of the next peer to receive a load balanced message.

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