Skip to content


Subversion checkout URL

You can clone with
Download ZIP
tree: 93cd7da539
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (24 sloc) 0.561 kB
module StockObjects {
struct Quote {
string symbol;
long at_time;
double price;
long volume;
exception Unknown{};
interface Stock {
// Returns the current stock quote.
Quote get_quote() raises(Unknown);
// Sets the current stock quote.
void set_quote(in Quote stock_quote);
// Provides the stock description,
// e.g. company name.
readonly attribute string description;
interface StockFactory {
Stock create_stock(
in string symbol,
in string description
Jump to Line
Something went wrong with that request. Please try again.