1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| Quintiq file version 2.0
| #parent: #root
| MethodOverride SentRegistration (
| String destination_node_id
| ) as Boolean
| {
| TextBody:
| [*
| // Disable undo
| this.DisableTransactionRecords();
|
| this.Log( "Sending registration to node" + destination_node_id, true );
|
| result := true;
|
| if( this.DistributedServiceProviderBase().MyNodeId() = destination_node_id )
| {
| result := false;
| this.Log( "Registration not sent. Invalid request from " + this.DistributedServiceProviderBase().MyNodeId() + " to " + destination_node_id, true );
| }
| else
| {
| result := this.OnSentRegistration( destination_node_id );
| }
|
| return result;
| *]
| }
|
|