FAST WebComponents |
|
Component: FastConsole |
OverView | | | Protocol | | | WebComponents | | | ChartEngine | | | Mobile | | | Press |
|
This is a Demopage for the ActiveFAST-Server Ticker Protocol (AFTP). It shows some core priciples how ActiveFAST operates. The same protocol is also available as Pull version which does not update in realtime but at specified time intervals. See Pull for more informations. Below you find a simple Java Applet which connects automaticaly to the ActiveFAST-Server and starts receiving the fields DSPLY_NAME, BID and ASK from the RIC EUR=. Use the following code snippet to use it in a Webpage.
<APPLET name=FastConsole archive="Core.zip"
code="at.RISNet.FAST.WebComponents.FastConsole.class"
width=600 height= 400>
<PARAM NAME="Port" VALUE="18919">
<PARAM NAME="Info" VALUE="Sample ActiveFast console">
<PARAM NAME="Background" VALUE="00C0C0">
<PARAM NAME="Foreground" VALUE="FFFFFF">
<PARAM NAME="RIC" VALUE=".ATX">
<PARAM NAME="FID" VALUE="DSPLY_NAME TRDPRC_1 PRCTCK_1">
<PARAM NAME="Debug" VALUE="YES">
</APPLET>
AFTP normaly works over TCP/IP and uses plain ASCII either in Normal Mode (line by line, like other protocols eg. SMTP) or in XML Mode (where Data and Commands are encapsulated in XML files). Below you find a short description of the in/out format and the available commands.
You can get more RICs (subscribe) by entering the command get <RIC> . The command get (without specifying a ric) show you all your currently subscribed RICs. By entering stat you get all currently subscribed RICs of all users in the system and the info how many users have subscribed which RIC. If you want to see all other clients in the system enter clients. quit terminates the connection to the server (but be carefull, doing this on the WebConsole may crash your browser). You can also use your telnet application to connect to the FAST-Server Demo. Just enter "telnet fast.noe.at 18919". This connects you to the demoserver fast.noe.at on TCP port 18919, which is the ActiveFAST standard port. The command refresh RIC sends the last available data to the client for that RIC.
A detailed description of the various applet parameters follows:
Parameter | Description | Default | Example |
---|---|---|---|
Background | Background color of this applet in hex form | C0C0C0 | eg. FFFFFF |
Foreground | Foreground color of this applet in hex form | 000000 | eg. 8080FF |
Port | port on fast server to connect this client to (for TICK operation) | 18919 | eg. 18919 |
RIC | RIC (Reuters Instrument Code) to fetch | .ATX | eg. ATX |
FID | Fields to show (space separated) | TRDPRC_1 | eg. TRDPRC_1 BID ASK |
Info | Title to display above console area | - | Democonsole |
Debug | Shows some debug informations in the Java Console (internal use only) | NO | YES, NO |
(C) Copyright RIS-Regionale Informations Systeme GmbH, Prof. Dr. Stefan Koren Str. 10, A-2700 Wr. Neustadt, AUSTRIA, EUROPE & Richard.Prinz@RISNet.at