20.04.2014 Views

internship report

internship report

internship report

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.1. SEND MESSAGE CLIENT 17<br />

gateway interface and updates the timestamp and flag fields in the SQL7 database.<br />

4.1.2 Send Message Client Sequence<br />

Figure 4.2 shows the sequence diagram of the send message client thread. The send message<br />

client thread will be created by the data manager. It waits for a configurable period of time until<br />

it starts querying the database for new arrived test results. The query is done by the DBSession<br />

object, which creates a list of XML messages represented by the Send Message List Object. The<br />

message objects will be represented by the DOM document model implemented in the DOM<br />

Parser Xerces (Java Version).<br />

The SendMessage class provides a method for converting the DOM object into a string and sends<br />

this string to the remote gateway interface.<br />

Figure 4.2: Send Message Sequence Diagram

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!