User: hiram
Date: 00/11/22 12:17:27
Added: docs examples.html index.html sources.html styles.css
Removed: docs Examples.txt
Log:
Made the doc HTML and updated the example doc to
reflect how the curent CLIENT program works.
Revision Changes Path
1.1 spyderMQ/docs/examples.html
Index: examples.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META name="GENERATOR" content="IBM WebSphere Page Designer V3.5 for Windows">
<META http-equiv="Content-Style-Type" content="text/css">
<TITLE>spyderMQ Examples Documentation </TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="styles.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<H1>spyderMQ Examples Documentation</H1>
<HR>
<H2>SERVER</H2>
<P>This is a simple JMS server using SypderMQ.</P>
<H2>CLIENT</H2>
<P>This is a simple parser which gives you the ability to test the JMS server.
You can dynamically use JMS objects, and invoke methods on them. </P>
<H3>Commands</H3>
<UL>
<LI><B>object.method(param[,...])</B><BR>
Where param is an object or a string : invoke the selected method on the object<BR>
ex: <B>session.createTopic("myTopic")</B>
<LI><B>result=object.method(param[,...])</B><BR>
Use this form to store the result of the method<BR>
ex: <B>ID=connection.getClientID()</B>
</UL>
<H3>Macros</H3>
<UL>
<LI><B>pub(topic,text) </B><BR>
Send a TextMessage to a topic
<LI><B>pubq(queue,text)</B><BR>
Send a TextMessage to a queue
<LI><B>pub2(topic)</B><BR>
Send a 10K BytesMessage to a topic
<LI><B>newSubscriber=sub(topic)</B> <BR>
create a new TopicSubscriber for this topic
<LI><B>queueReceiver=subq(queue)</B> <BR>
create a new QueueReceiver for this queue
<LI><B>subscriber.listen()</B> <BR>
create a Listener for this MessageConsumer
<LI><B>subscriber.unlisten()</B> <BR>
remove the Listener for this MessageConsumer
</UL>
<H3>Objects</H3>
<P>When the program starts, it creates one the follwing objects:</P>
<UL>
<LI><B>ct</B> is a TopicConnection
<LI><B>st</B> is a TopicSession
<LI><B>cq</B> is a QueueConnection
<LI><B>sq</B> is a QueueSession
</UL>
<H3>Example</H3>
<BLOCKQUOTE>
<PRE>st.createTopic("example")
sub=sub("example")
sub.listen()
publish("example","hello")
ct.start()
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>
1.1 spyderMQ/docs/index.html
Index: index.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META name="GENERATOR" content="IBM WebSphere Page Designer V3.5 for Windows">
<META http-equiv="Content-Style-Type" content="text/css">
<TITLE>spyderMQ Documentation </TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="styles.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<H1>spyderMQ</H1>
<H2 >Description</H2>
<P>spyderMQ is a JMS provider
<HR>
<H2>Documentation</H2>
<P><A href="sources.html">spyderMQ Source Documentation</A></P>
<P><A href="examples.html">spyderMQ Examples Documentation</A></P>
<HR>
<H2>License</H2>
<P>spyderMQ is licensed under the GPL license. See <A
href="http://www.gnu.org/">www.gnu.org</A> for details.</BODY>
</HTML>
1.1 spyderMQ/docs/sources.html
Index: sources.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META name="GENERATOR" content="IBM WebSphere Page Designer V3.5 for Windows">
<META http-equiv="Content-Style-Type" content="text/css">
<TITLE>spyderMQ Source Documentation </TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="styles.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<H1>spyderMQ Source Documentation</H1>
<HR>
<H2 >CVS Directory structure</H2>
<P>
The files contained in this distribution are contained in the following directories.
<OL>
<LI><B>build</B> Contains the build scripts and libraries. Use these to build
spyderMQ</LI>
<LI><B>conf</B> Contains the default configuration files for spyderMQ</LI>
<LI><B>docs</B> spyderMQ documentation</LI>
<LI><B>examples</B> Contains various example programs which use spyderMQ</LI>
<LI><B>lib</B> Contains all libraries that are necessary in order to run
spyderMQ.</LI>
<LI><B>src/*</B> All sources needed to build the distribution of spyderMQ are
contained
here</LI>
<LI><B>src/bin</B> Contains the scripts used to start spyderMQ and additional
tools</LI>
<LI><B>src/java</B> Contains the Java source files for spyderMQ</LI>
</OL>
<HR>
<H2>Build Instructions</H2>
<P>Building the sources creates a <B>build</B> directory containing the binarys
needed to run spyderMQ.</P>
<H3>Windows Platform</H3>
<P>Run the <B>build.bat</B> file located in the the <B>build</B> directory.</P>
<H3>Unix Platform</H3>
<P>Run the <B>build.sh</B> script file located in the the <B>build</B> directory.</P>
</BODY>
</HTML>
1.1 spyderMQ/docs/styles.css
Index: styles.css
===================================================================
body { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px}
p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt}
td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt }
h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16pt;
font-weight: bold}
h2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12pt;
font-weight: bold}
a.undecorated { text-decoration: none; color: #000000}
a.undecorated:hover { text-decoration: underline; color: #0000D0}
h3 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;
font-weight: bold ; font-style: italic}
.footer { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt}
ul { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt }
ol { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt }