
The Topline Push Type
Issue 1 April 2005 43
Topline Push Example 2:
Using our previous stock alert example, the price of the AV is reaching the $15 price target.
Now, the stock broker’s telephone display shows:
Figure 10: Telephone Display Prior to Receiving Stock Alert Message
The code excerpt associated with the Stock Alert example to be sent as part of the Push
Message is as follows:
<!– Following is the XML Push Request Message sent as a POST request embedded as part of form data -->
XMLData = <?xml version="1.0"?>
<Push alert=“3” type=“topline” mode=“normal”>
<go href=“http://trusted_push_server/stock_alert.xml” method=“get”>
</go>
</Push>
<!– The above message is part of the form data (XMLData) being sent in Step 1 request -->
Kommentare zu diesen Handbüchern