1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| Quintiq file version 2.0
| #parent: #root
| Method ReceiveNotification (
| String origin_node_id,
| String notification_type,
| String notification_info
| )
| {
| Description: 'Forwards notifications received by this connector to the attached distributed service provide.'
| TextBody:
| [*
| this.Log( "Receiving notification of type " + notification_type + " with info " + notification_info + " from node " + origin_node_id, true );
|
| processor := guard( this.DistributedServiceProviderBase().Processor(), null( DSP_Processor) );
| if ( not isnull( processor ) )
| {
| if ( not processor.ReceiveNotification( origin_node_id, notification_type, notification_info ) )
| {
| this.Log( "Notification of unknown type" + notification_type + " received", false );
| }
| }
| *]
| }
|
|