TML Messaging Suite  1.1.5
for Java
 All Classes Namespaces Functions Variables Groups Pages
void com.tmlsidex.tml.TMLProfile.registerCmd ( int  iCmdID,
TMLCmdDispatchIF  cbInstance,
Object  pCBData 
) throws TmlSidexException

register command handler

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

iCmdIDcommand id
cbInstanceinstance of an implementation of the callback method interface / set null for deregistration
pCBDatacustom data or null
See also
TMLProfile::registerCustomDispatch(TMLCustomDispatchIF, Object)