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

register a command handler

The command handler is a called if the listerner receives a message with a matching iCmdID. If no command handler is registered either an error is returned to the caller or the general command handler is called if registered.

coreHandleTML core handle (TML_CORE_HANDLE)
profileprofile name
iCmdIDcommand id
cbInstanceinstance of an implementation of the callback method interface / set null for deregistration
cbDatacustom data or null / set null for deregistration