Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onEndOfTransfer - event of object PmData

Description:
The event fires after ending the data transfer.
Parameters:
pMe(Object) Reference to the Promotic object where the event rises.
pEvent(Object) A referrence to object describing detailed information about the specific event.
pEvent.Source - (Long) Event's fireing source. Takes the following values:
0 - Event was fired locally by EndOfTransfer method. pEvent.Error parameter is always 0.
10 - Data was written into the object by XML communication. For example in this object the ReadFromWeb method was called or client (other PmData object) called its WriteToWeb method.
20 - Data was read from the object by XML communication. For example in this object the WriteToWeb method was called or client (other PmData object) called its ReadFromWeb method or WEB browser (the Internet Explorer) read this XML data.
1 - Data are written into the object by Socket communication. For example in this object the ReadFromSocket method was called or client (other PmData object) called its WriteToSocket method.
2 - Data are read from the object by Socket communication For example in this object the WriteToSocket method was called or client (other PmData object) called its ReadFromSocket method.
pEvent.Error - (Long) the value of the transfer error:
0 - (XML and socket) the transfer passed successfully
24 - (only XML) transfer error - the Web server is probably not accessible
33 - (only XML) software error
40 - (only XML) operation (read or write) is not enabled - the client has probably set the sUser or sPassword parameter incorrectly when calling the ReadFromWeb or WriteToWeb method
61 - (only XML) Web server cannot connect to client on the URL address
62 - (only XML) Web server responded negatively (HTTP status is not 200=OK)
64 - (XML and socket) received data cannot be saved (probably incompatible formats)
66 - (only XML) the received message doesn't have the required format
1001 - (only socket) the item name is not in the target group list
1006 - (only socket) the item name is the same as another name in the objects list
1007 - (only socket) the system manager cannot hook up
1008 - (only socket) cannot hook up
1010 - (only socket) the socket manager cannot achieve the target PC
1011 - (only socket) wrong check sum
1012 - (only socket) wrong number of the received packet, only with the client and UDP/IPX protocol
1013 - (only socket) the socket has been closed, the cause not defined
1014 - (only socket) no data arrived
1015 - (only socket) less data arrived
1201 - (only socket) time-out expired
1202 - (only socket) the time for re-opening the socket expired and an error occured
1203 - (only socket) the socket has been closed asynchronously, the cause not defined
values 10000 and higher - (only socket) standard communication error of OS Windows. In case of urgent need to find the error, contact the MICROSYS company.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice