BLT_DecoderServer_PropertyListenerWrapper_OnPropertyChanged
ATX_END_INTERFACE_MAP

/*----------------------------------------------------------------------
|   BLT_DecoderServer_Message::Dispatch
+---------------------------------------------------------------------*/
NPT_Result
BLT_DecoderServer_Message::Dispatch(NPT_MessageHandler* handler) 
{
    BLT_DecoderServer_MessageHandler* specific =
        NPT_DYNAMIC_CAST(BLT_DecoderServer_MessageHandler, handler);
    if (specific) {
        return Deliver(specific);
    } else {
        return DefaultDeliver(handler);
    }
}
Exemple #2
0
 NPT_SimpleMessageCapsule(NPT_Message* message, 
                          NPT_MessageHandler* handler) :
     m_Message(message), m_Handler(handler), m_Proxy(NULL) {
     m_Proxy = NPT_DYNAMIC_CAST(NPT_MessageHandlerProxy, m_Handler);
     if (m_Proxy) m_Proxy->AddReference();
 }