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

register a general command handler

If no command handler was registered for a command id, the profile will call the general command handler if registered. This can be used to implement an own dispatching mechanism to handle incoming commands and events.

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