|bPriority||[optional] (Boolean) flag how to fit it in the message queue|
false (default) - the object is placed at the end of the queue
true - the object is placed at the beginning of the queue, which means that other waiting messages are skipped
The Run method only activates the message transfer. After termination of the Run method it is never assured that the data have already been transferred. The Run method only causes that the PmCommMsg object is "placed" in the queue of messages that have to be just transferred.
The PmCommMsg object waits in the queue until its turn (this functionality is the internal PROMOTIC property and the designer doesn't need to care about it). Then he starts to transmit its data and waits for the requested received data, reads the data and the whole process is finished by the call of the onEndOfTransfer event. The Run method doesn't wait for these actions any more.
The PmCommMsg object can find itself in two states - the state when the transfer doesn't proceed and the state when the transfer proceeds (i.e. state between calling the Run method and the onEndOfTransfer event). The Run method can be called only over the object in the state when the transfer in this object doesn't proceed. This state can be found out by the GetReady method.