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

register a handler for event subscription requests

The handler is called if an event subscription or unsubscription request is received.

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