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.
- Parameters
-
coreHandle | TML core handle (TML_CORE_HANDLE) |
profile | profile name |
iCmdID | command id |
cbInstance | instance of an implementation of the callback method interface / set null for deregistration |
cbData | custom data or null / set null for deregistration |
- Exceptions
-