A C D E F G H I J L M N O P Q R S T U X

A

addBatch(String) - Method in class org.pricingnexus.tools.DatabaseWrapper
Same as Statement.addBatch(String)

C

cleanUp() - Method in class org.pricingnexus.tools.HtmlToDOMTransform
Clean up the Document object
close() - Method in class org.pricingnexus.tools.DatabaseWrapper
Releases all open resources
close() - Method in class org.pricingnexus.tools.JmsWrapper
Closes a connection.
close() - Method in class org.pricingnexus.tools.LogSender
Shuts down thread and closes resources
CococStarter - class org.pricingnexus.cococ.CococStarter.
This is the starter application for the "Command and Control" Application.
CococStarter() - Constructor for class org.pricingnexus.cococ.CococStarter
 
connect() - Method in class org.pricingnexus.tools.DatabaseWrapper
Creates a jdbc-connection and stores it in wrapper instance
connect(String) - Method in class org.pricingnexus.tools.JmsWrapper
Creates JMS on the named queue or topic connection.
createQueueReceiver(int) - Method in class org.pricingnexus.tools.JmsWrapper
Creates a QueueSender for given session identifier and returns a reference to it.
createQueueSender(int) - Method in class org.pricingnexus.tools.JmsWrapper
Creates a QueueSender for given session identifier and returns a reference to it.
createSession(int, boolean) - Method in class org.pricingnexus.tools.JmsWrapper
A new session is created and returned.
createStatement() - Method in class org.pricingnexus.tools.DatabaseWrapper
Creates a statement and stores reference to it in wrapper instance
createTextMessage(int) - Method in class org.pricingnexus.tools.JmsWrapper
Creates a TextMessage and returns a reference to it.
createTopicPublisher(int) - Method in class org.pricingnexus.tools.JmsWrapper
Creates a TopicPublisher for given session identifier and returns a reference to it.
createTopicSubscriber(int) - Method in class org.pricingnexus.tools.JmsWrapper
Creates a TopicSubscriber for given session identifier and returns a reference to it.

D

DatabaseExtract - class org.pricingnexus.helper.DatabaseExtract.
The application needs the following arguments in the command line to work #0 : Name of a valid PricingNexus INI-file #1 : Name of database system; needed for creation of matching escape codes, currently supported is "sybase" only #2 : Name of table to extract data from #3...
DatabaseExtract() - Constructor for class org.pricingnexus.helper.DatabaseExtract
 
DatabaseWrapper - class org.pricingnexus.tools.DatabaseWrapper.
This is a lightweigt database wrapper, created and used for the PricingNexus project $Header$
DatabaseWrapper(String, String, String, String) - Constructor for class org.pricingnexus.tools.DatabaseWrapper
Default constructer.
dbConnection - Variable in class org.pricingnexus.tools.DatabaseWrapper
 
dbPreparedStatement - Variable in class org.pricingnexus.tools.DatabaseWrapper
 
dbResultSet - Variable in class org.pricingnexus.tools.DatabaseWrapper
 
dbStatement - Variable in class org.pricingnexus.tools.DatabaseWrapper
 
doEscape(StringBuffer, char, char) - Method in class org.pricingnexus.helper.DatabaseExtract
This small little code searches all occurences of the char ch in the StringBuffer db and inserts the ins char before this to escape this char.

E

executeBatch() - Method in class org.pricingnexus.tools.DatabaseWrapper
Same as Statement.executeBatch().
executeQuery(String) - Method in class org.pricingnexus.tools.DatabaseWrapper
Same as Statement.executeQuery(String).

F

flush() - Method in class org.pricingnexus.tools.HtmlToDOMTransform
Probably do nothing when flushing occurs
flushAll() - Method in class org.pricingnexus.worker.USSHttpFetcher
call this to force a dump off all active URLs
flushTime - Variable in class org.pricingnexus.cococ.URLSourceDirector
Defines after how many seconds a "flush URL" command is released and URLs are newly distributed

G

getJDOM() - Method in class org.pricingnexus.tools.HtmlToDOMTransform
If parsing was successfull a reference to the JDOM object can be retreived via this method.
getQueueSession(int) - Method in class org.pricingnexus.tools.JmsWrapper
Returns a reference to a previously created QueueSession.
getSession(int) - Method in class org.pricingnexus.tools.JmsWrapper
Returns a reference to a previously created JMS-session.
getTopicSession(int) - Method in class org.pricingnexus.tools.JmsWrapper
Returns a reference to a previously created TopicSession.
getValue(String) - Static method in class org.pricingnexus.tools.IniReader
Calling this method someone can get the value(s) for a key in the INI file.
getValueAsInt(String) - Static method in class org.pricingnexus.tools.IniReader
This method returns a value as int number.

H

handleComment(char[], int) - Method in class org.pricingnexus.tools.HtmlToDOMTransform
We'll don't care for comments
handleEndOfLineString(String) - Method in class org.pricingnexus.tools.HtmlToDOMTransform
Do nothing at EOL - is this correct?
handleEndTag(HTML.Tag, int) - Method in class org.pricingnexus.tools.HtmlToDOMTransform
The close tag is easy: Using the getParrent method of element we climb back one level in the tree
handleError(String, int) - Method in class org.pricingnexus.tools.HtmlToDOMTransform
Error handling is an open issue for further development
handleSimpleTag(HTML.Tag, MutableAttributeSet, int) - Method in class org.pricingnexus.tools.HtmlToDOMTransform
Simple Tags are new elements with just the name of the tag as the element.
handleStartTag(HTML.Tag, MutableAttributeSet, int) - Method in class org.pricingnexus.tools.HtmlToDOMTransform
The following six methods instantiate the callbacks from the Parser class A new "open tag" event triggers - the creation of a new child below the currentElement - assignment of the tag name to the element name - finally reassignment of the currentElement to this child
handleText(char[], int) - Method in class org.pricingnexus.tools.HtmlToDOMTransform
Also quite straight forward: Just add the Text as new Content to the currentElement
HtmlRefiner - class org.pricingnexus.helper.HtmlRefiner.
This small little helper application is used to retreive a HTML page, cleans it up like the USSGttpFetcher does and stores the content into a given file.
HtmlRefiner() - Constructor for class org.pricingnexus.helper.HtmlRefiner
 
HtmlRefiner(Frame, String, boolean) - Constructor for class org.pricingnexus.helper.HtmlRefiner
 
HtmlToDOMTransform - class org.pricingnexus.tools.HtmlToDOMTransform.
Tiny but nice helper class: From a stream or String [XXX: must be developed!] this object tries to read a complete HTML page and will try to convert it into a JDOM Document Object and return the reference to this object.
HtmlToDOMTransform() - Constructor for class org.pricingnexus.tools.HtmlToDOMTransform
Default constructor of class.

I

IniReader - class org.pricingnexus.tools.IniReader.
 
IniReader() - Constructor for class org.pricingnexus.tools.IniReader
 
initializationStatus() - Static method in class org.pricingnexus.tools.IniReader
Method can be questioned to retreive TRUE or FALSE depending if INI file retreiving was successfull

J

JmsWrapper - class org.pricingnexus.tools.JmsWrapper.
This object is the result of some frustrating weeks of work with JMS ,-)) Ok, joking off...
JmsWrapper(String, String, int) - Constructor for class org.pricingnexus.tools.JmsWrapper
Standard constructor of class.

L

Logger - class org.pricingnexus.helper.Logger.
$Header$
Logger() - Constructor for class org.pricingnexus.helper.Logger
 
LogSender - class org.pricingnexus.tools.LogSender.
Title: XMLLogger Description: A little utility that receives xml formatted messages with a certain format and displays this information in a single window.
LogSender(String, int, int, String) - Constructor for class org.pricingnexus.tools.LogSender
Default constructor: just initializes the message store and launch the sender thread
LogSenderStatic - class org.pricingnexus.tools.LogSenderStatic.
Firstly: This is a dirty & cheap hack, it should be improved in the future,-)) Second (what it does): It's a kind of static version of the LogSender object.
LogSenderStatic() - Static method in class org.pricingnexus.tools.LogSenderStatic
 
LogSenderStatic() - Constructor for class org.pricingnexus.tools.LogSenderStatic
 
los() - Method in class org.pricingnexus.tools.testMe
 

M

main(String[]) - Static method in class org.pricingnexus.cococ.CococStarter
 
main(String[]) - Static method in class org.pricingnexus.helper.Logger
 
main(String[]) - Static method in class org.pricingnexus.helper.DatabaseExtract
 
main(String[]) - Static method in class org.pricingnexus.helper.StartLogger
 
main(String[]) - Static method in class org.pricingnexus.helper.HtmlRefiner
 
myBuilder - Variable in class org.pricingnexus.cococ.URLSourceServant.USSurlReqHandler
 
myDoc - Variable in class org.pricingnexus.cococ.URLSourceServant.USSurlReqHandler
 

N

newURL(int, String, String, int) - Method in class org.pricingnexus.worker.USSHttpFetcher
Adds one new URL information.
NOT_IN_LIST - Static variable in class org.pricingnexus.tools.IniReader
This values is returned if a value is requested but not found

O

onMessage(Message) - Method in class org.pricingnexus.cococ.URLSourceServant.USSurlReqHandler
Wow, we've got mail ...decode it into XML and try to get the content.
onMessage(Message) - Method in class org.pricingnexus.cococ.URLSourceDirector.messageListener
 
org.pricingnexus.cococ - package org.pricingnexus.cococ
 
org.pricingnexus.helper - package org.pricingnexus.helper
 
org.pricingnexus.tools - package org.pricingnexus.tools
 
org.pricingnexus.worker - package org.pricingnexus.worker
 

P

parseToDOM() - Method in class org.pricingnexus.tools.HtmlToDOMTransform
This one works like parseToJDOM() but returns a w3c.DOM object instead
parseToJDOM() - Method in class org.pricingnexus.tools.HtmlToDOMTransform
The important method: Retreives data via the stream and tries to parse it inro a JDOM object.
prepareStatement(String) - Method in class org.pricingnexus.tools.DatabaseWrapper
Same as Connection.prepareStatment(sql)

Q

QCF_NAME - Static variable in class org.pricingnexus.tools.JmsWrapper
Provider specific name for a JMS "QueueConnectionFactory".

R

RawPriceProcessor - class org.pricingnexus.cococ.RawPriceProcessor.
This object collects raw prices (i.e.
RawPriceProcessor(IniReader) - Constructor for class org.pricingnexus.cococ.RawPriceProcessor
The main constructer must be given a reference to the INI-object as it stores all necessary information we need to connect to Database, JMS service and so on
ReadFile(String) - Static method in class org.pricingnexus.tools.IniReader
Public interface to commit read of the INI file.
RPPconsumer - class org.pricingnexus.worker.RPPconsumer.
This class belongs directly as worker class to the RawPriceProcessor.
RPPconsumer(TopicPublisher, QueueReceiver, QueueSender, JmsWrapper, IniReader) - Constructor for class org.pricingnexus.worker.RPPconsumer
The constructor need three pointers to two queue connections and to one topic connection.
run() - Method in class org.pricingnexus.cococ.URLSourceServant
 
run() - Method in class org.pricingnexus.cococ.URLSourceDirector
All connections to other services (DB, JMS) are initiated here, additional threads are started
run() - Method in class org.pricingnexus.cococ.StaticDataGatherer
 
run() - Method in class org.pricingnexus.cococ.RawPriceProcessor
The main method
run() - Method in class org.pricingnexus.helper.StartLogger.LoggerThread
 
run() - Method in class org.pricingnexus.worker.USSHttpFetcher
The main part of it all: Creates connections to JMS and after that retreives continously HTTP sources from the URLs in respect to the refresh interval
run() - Method in class org.pricingnexus.worker.RPPconsumer
This is just an almost infinite loop that waits for incoming messages and processes them.

S

sdGathererProcs - Static variable in class org.pricingnexus.cococ.CococStarter
 
send(String, int, int, String, String) - Static method in class org.pricingnexus.tools.LogSenderStatic
 
sendMessage(String) - Method in class org.pricingnexus.tools.LogSender
Call this method to add a new message to the message stored
setIsQueue() - Method in class org.pricingnexus.tools.JmsWrapper
Corresponding to setIsTopic this method declares the obejct to be used in a queue context.
setIsTopic() - Method in class org.pricingnexus.tools.JmsWrapper
As our object does support Topics as well as Queues the calling context first needs to decice if an instance of this object needs to handle Topics or Queues.
setReader(Reader) - Method in class org.pricingnexus.tools.HtmlToDOMTransform
The initializer method.
shutdownProcess - Variable in class org.pricingnexus.cococ.URLSourceServant
 
shutdownProcess - Variable in class org.pricingnexus.cococ.URLSourceDirector
 
shutdownProcess - Variable in class org.pricingnexus.cococ.RawPriceProcessor
 
shutdownProcess - Variable in class org.pricingnexus.worker.USSHttpFetcher
 
startConnection() - Method in class org.pricingnexus.tools.JmsWrapper
Very simple: Starts the "stored" connection
StartLogger - class org.pricingnexus.helper.StartLogger.
This is a small little class that just shoots up the main Logger-Class into the sky.
StartLogger.LoggerThread - class org.pricingnexus.helper.StartLogger.LoggerThread.
 
StartLogger.LoggerThread() - Constructor for class org.pricingnexus.helper.StartLogger.LoggerThread
 
StartLogger() - Constructor for class org.pricingnexus.helper.StartLogger
 
StaticDataGatherer - class org.pricingnexus.cococ.StaticDataGatherer.
This objects task is to create static data for the PricingNexus.
StaticDataGatherer(IniReader) - Constructor for class org.pricingnexus.cococ.StaticDataGatherer
 
stopConnection() - Method in class org.pricingnexus.tools.JmsWrapper
Stops the "stored" connection
stopFlag - Variable in class org.pricingnexus.cococ.StaticDataGatherer
 

T

TCF_NAME - Static variable in class org.pricingnexus.tools.JmsWrapper
Provider specific name for a JMS "TopicConnectionFactory".
testMe - class org.pricingnexus.tools.testMe.
Title: PricingNexus Description: A project to create a comprehensive derivatives price [WEB-]grabbing middleware that is fully modular and open for all kind of risk analysis.
testMe() - Constructor for class org.pricingnexus.tools.testMe
 

U

URLSourceDirector - class org.pricingnexus.cococ.URLSourceDirector.
This is the working horse class for distributing the source URL's via JMS, checking refresh cycles and handling $Header$
URLSourceDirector.messageListener - class org.pricingnexus.cococ.URLSourceDirector.messageListener.
The following will be needed for asynchronous delivery of messages from the command topic
URLSourceDirector.messageListener(URLSourceDirector) - Constructor for class org.pricingnexus.cococ.URLSourceDirector.messageListener
 
URLSourceDirector(IniReader) - Constructor for class org.pricingnexus.cococ.URLSourceDirector
The main constructer must be given a reference to the INI-object as it stores all necessary information we need to connect to Database, JMS service and so on
URLSourceServant - class org.pricingnexus.cococ.URLSourceServant.
Title: PricingNexus Description: This is one of the main working horse classes.
URLSourceServant.USSurlReqHandler - class org.pricingnexus.cococ.URLSourceServant.USSurlReqHandler.
inner class to be used as callback for asynchronous receive from the "JMS_QUE_CMD_HTTPGET" channel
URLSourceServant.USSurlReqHandler(URLSourceServant) - Constructor for class org.pricingnexus.cococ.URLSourceServant.USSurlReqHandler
The constructor sets up JDOM objects that'll get reused in every call.
URLSourceServant(IniReader) - Constructor for class org.pricingnexus.cococ.URLSourceServant
Constructor is simple: Just store the reference to the INI-object
USSHttpFetcher - class org.pricingnexus.worker.USSHttpFetcher.
The class belongs directly to the URLSourceServant class.
USSHttpFetcher(Hashtable, JmsWrapper, int, LogSender) - Constructor for class org.pricingnexus.worker.USSHttpFetcher
Default constructor

X

XMLIndentFlag - Variable in class org.pricingnexus.cococ.URLSourceDirector
 
XMLNewlineFlag - Variable in class org.pricingnexus.cococ.URLSourceDirector
 

A C D E F G H I J L M N O P Q R S T U X