Package com.sun.multicast.reliable.applications.stock

Source code for the sample stock ticker application.

This application uses the TRAM reliable multicast protocol to periodically send stock information from one sender (StockServer) to multiple receivers (StockViewer).

See:
          Description

Interface Summary
StockDebugFlags Stock ticker debug flags interface.
 

Class Summary
ArgParser  
Config Undocumented Class Declaration.
DataReceiver  
DataSender  
DataStats  
StockServer Stock quote server.
StockViewer Stock quote viewer.
 

Package com.sun.multicast.reliable.applications.stock Description

Source code for the sample stock ticker application.

This application uses the TRAM reliable multicast protocol to periodically send stock information from one sender (StockServer) to multiple receivers (StockViewer). The server requests information from yahoo.com, and parses it before multicasting to the receivers.

Command line arguments are as follows:

java com.sun.multicast.reliable.applications.stock.StockServer [-address address] [-port port] [-ttl ttl] [-tickers tickers] [-channel channel-file] [-out output-file] [-in input-file]

java com.sun.multicast.reliable.applications.stock.StockViewer [-x x] [-y y] [-width width] [-height height] [-size size]



JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.