Main Page | Packages | Class Hierarchy | Class List | File List | Class Members

saxparse.MessageBase Class Reference

Inheritance diagram for saxparse.MessageBase:

Inheritance graph
[legend]
List of all members.

Detailed Description

MessageBase Aug 11, 2004.

A base class for messages in a market trading system. The "product" might be an computer driven trading program. The user is the identifier for the person who started the product or who is using a manual entry trading system. The local ID is an ID that is meaningful to the trading product.

Author:
Ian Kaplan, www.bearcave.com, iank@bearcave.com


Public Member Functions

 MessageBase ()
 MessageBase (String product, String user, String localID)
String getLocalID ()
void setLocalID (String localID)
String getProduct ()
void setProduct (String product)
String getUser ()
void setUser (String user)
void toStream (PrintStream ps)

Package Attributes

String mProduct = null
String mUser = null
String mLocalID = null


Constructor & Destructor Documentation

saxparse.MessageBase.MessageBase  ) 
 

00036 {}

saxparse.MessageBase.MessageBase String  product,
String  user,
String  localID
 

00041 { 00042 mProduct = product; 00043 mUser = user; 00044 mLocalID = localID; 00045 } // MessageBase


Member Function Documentation

String saxparse.MessageBase.getLocalID  ) 
 

00047 { 00048 return mLocalID; 00049 }

String saxparse.MessageBase.getProduct  ) 
 

00053 { 00054 return mProduct; 00055 }

String saxparse.MessageBase.getUser  ) 
 

00059 { 00060 return mUser; 00061 }

void saxparse.MessageBase.setLocalID String  localID  ) 
 

00050 { 00051 mLocalID = localID; 00052 }

void saxparse.MessageBase.setProduct String  product  ) 
 

00056 { 00057 mProduct = product; 00058 }

void saxparse.MessageBase.setUser String  user  ) 
 

00062 { 00063 mUser = user; 00064 }

void saxparse.MessageBase.toStream PrintStream  ps  ) 
 

00067 { 00068 ps.println("product: " + mProduct ); 00069 ps.println("user: " + mUser ); 00070 ps.println("local ID: " + mLocalID ); 00071 }


Member Data Documentation

String saxparse.MessageBase.mLocalID = null [package]
 

String saxparse.MessageBase.mProduct = null [package]
 

String saxparse.MessageBase.mUser = null [package]
 


The documentation for this class was generated from the following file:
Generated on Sat Aug 28 13:50:04 2004 for SaxParse by doxygen 1.3.8