<reply> element |
Top Previous Next |
This element represents an interpretation of the server's reply interprocess message. It correlates the 'reply code', the first word (two bytes) of the message, to a type. The reply element determines how the server reply is converted from binary format to XML ("serialized").
Attributes
Remarks When <replies> contains multiple <reply> elements, they are processed in document order. The first <reply> whose replyCode range includes the value server's reply code (the first 2 bytes of the reply message interpreted as a signed integer) is used. Example <replies>
<reply replyCode="0" type="MySuccessReply"> <mappings> </mappings> </reply>
<reply replyCode="-100:-1,1:100" type="MyWarningReply"> <mappings> </mappings> </reply>
<reply replyCode="*" type="MyErrorReply"> <mappings> </mappings> </reply>
</replies> |