You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-dev@james.apache.org by rd...@apache.org on 2009/07/02 12:18:19 UTC

svn commit: r790538 [32/36] - in /james/site/trunk/www/mpt/1.0: ./ apache-james-mpt-antlib/ apache-james-mpt-antlib/css/ apache-james-mpt-antlib/emma/ apache-james-mpt-antlib/images/ apache-james-mpt-app/ apache-james-mpt-app/css/ apache-james-mpt-app/...

Added: james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/ExternalSessionFactory.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/ExternalSessionFactory.html?rev=790538&view=auto
==============================================================================
--- james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/ExternalSessionFactory.html (added)
+++ james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/ExternalSessionFactory.html Thu Jul  2 10:18:09 2009
@@ -0,0 +1,89 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>ExternalSessionFactory xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../../../../apache/apache-james-mpt-0.1/target/site/apidocs/org/apache/james/mpt/ExternalSessionFactory.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment">**************************************************************</em>
+<a name="2" href="#2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one   *</em>
+<a name="3" href="#3">3</a>   <em class="jxr_javadoccomment"> * or more contributor license agreements.  See the NOTICE file *</em>
+<a name="4" href="#4">4</a>   <em class="jxr_javadoccomment"> * distributed with this work for additional information        *</em>
+<a name="5" href="#5">5</a>   <em class="jxr_javadoccomment"> * regarding copyright ownership.  The ASF licenses this file   *</em>
+<a name="6" href="#6">6</a>   <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the            *</em>
+<a name="7" href="#7">7</a>   <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance   *</em>
+<a name="8" href="#8">8</a>   <em class="jxr_javadoccomment"> * with the License.  You may obtain a copy of the License at   *</em>
+<a name="9" href="#9">9</a>   <em class="jxr_javadoccomment"> *                                                              *</em>
+<a name="10" href="#10">10</a>  <em class="jxr_javadoccomment"> *   <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a>                 *</em>
+<a name="11" href="#11">11</a>  <em class="jxr_javadoccomment"> *                                                              *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing,   *</em>
+<a name="13" href="#13">13</a>  <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an  *</em>
+<a name="14" href="#14">14</a>  <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *</em>
+<a name="15" href="#15">15</a>  <em class="jxr_javadoccomment"> * KIND, either express or implied.  See the License for the    *</em>
+<a name="16" href="#16">16</a>  <em class="jxr_javadoccomment"> * specific language governing permissions and limitations      *</em>
+<a name="17" href="#17">17</a>  <em class="jxr_javadoccomment"> * under the License.                                           *</em>
+<a name="18" href="#18">18</a>  <em class="jxr_javadoccomment"> ****************************************************************/</em>
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.james.mpt;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> java.net.InetSocketAddress;
+<a name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> java.nio.channels.SocketChannel;
+<a name="24" href="#24">24</a>  
+<a name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.james.mpt.HostSystem.Continuation;
+<a name="26" href="#26">26</a>  
+<a name="27" href="#27">27</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="28" href="#28">28</a>  <em class="jxr_javadoccomment"> * Session factory creates session which connection to a server port.</em>
+<a name="29" href="#29">29</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="30" href="#30">30</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/james/mpt/ExternalSessionFactory.html">ExternalSessionFactory</a> implements <a href="../../../../org/apache/james/mpt/SessionFactory.html">SessionFactory</a> {
+<a name="31" href="#31">31</a>  
+<a name="32" href="#32">32</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String IMAP_SHABANG = <span class="jxr_string">"* OK IMAP4rev1 Server ready"</span>;
+<a name="33" href="#33">33</a>      <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">final</strong> InetSocketAddress address;
+<a name="34" href="#34">34</a>      <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/james/mpt/Monitor.html">Monitor</a> monitor;
+<a name="35" href="#35">35</a>      <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">final</strong> String shabang;
+<a name="36" href="#36">36</a>  
+<a name="37" href="#37">37</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/james/mpt/ExternalSessionFactory.html">ExternalSessionFactory</a>(<strong class="jxr_keyword">final</strong> String host, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> port, <strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/james/mpt/Monitor.html">Monitor</a> monitor, <strong class="jxr_keyword">final</strong> String shabang) {
+<a name="38" href="#38">38</a>          <strong class="jxr_keyword">super</strong>();
+<a name="39" href="#39">39</a>          <strong class="jxr_keyword">this</strong>.address = <strong class="jxr_keyword">new</strong> InetSocketAddress(host, port);
+<a name="40" href="#40">40</a>          <strong class="jxr_keyword">this</strong>.monitor = monitor;
+<a name="41" href="#41">41</a>          <strong class="jxr_keyword">this</strong>.shabang = shabang;
+<a name="42" href="#42">42</a>      }
+<a name="43" href="#43">43</a>  
+<a name="44" href="#44">44</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/james/mpt/Session.html">Session</a> newSession(<a href="../../../../org/apache/james/mpt/HostSystem.html">Continuation</a> continuation) <strong class="jxr_keyword">throws</strong> Exception {
+<a name="45" href="#45">45</a>          monitor.note(<span class="jxr_string">"Connecting to "</span> + address.getHostName() + <span class="jxr_string">":"</span> + address.getPort());
+<a name="46" href="#46">46</a>          <strong class="jxr_keyword">final</strong> SocketChannel channel = SocketChannel.open(address);
+<a name="47" href="#47">47</a>          channel.configureBlocking(false);
+<a name="48" href="#48">48</a>          <strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/james/mpt/ExternalSession.html">ExternalSession</a> result = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/james/mpt/ExternalSession.html">ExternalSession</a>(channel, monitor, shabang);
+<a name="49" href="#49">49</a>          <strong class="jxr_keyword">return</strong> result;
+<a name="50" href="#50">50</a>      }
+<a name="51" href="#51">51</a>  
+<a name="52" href="#52">52</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> reset() <strong class="jxr_keyword">throws</strong> Exception {
+<a name="53" href="#53">53</a>          monitor.note(<span class="jxr_string">"Please reset system."</span>);
+<a name="54" href="#54">54</a>      }
+<a name="55" href="#55">55</a>  
+<a name="56" href="#56">56</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="57" href="#57">57</a>  <em class="jxr_javadoccomment">     * Constructs a &lt;code&gt;String&lt;/code&gt; with all attributes</em>
+<a name="58" href="#58">58</a>  <em class="jxr_javadoccomment">     * in name = value format.</em>
+<a name="59" href="#59">59</a>  <em class="jxr_javadoccomment">     *</em>
+<a name="60" href="#60">60</a>  <em class="jxr_javadoccomment">     * @return a &lt;code&gt;String&lt;/code&gt; representation </em>
+<a name="61" href="#61">61</a>  <em class="jxr_javadoccomment">     * of this object.</em>
+<a name="62" href="#62">62</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="63" href="#63">63</a>      <strong class="jxr_keyword">public</strong> String toString()
+<a name="64" href="#64">64</a>      {
+<a name="65" href="#65">65</a>          <strong class="jxr_keyword">final</strong> String TAB = <span class="jxr_string">" "</span>;
+<a name="66" href="#66">66</a>  
+<a name="67" href="#67">67</a>          String retValue = <span class="jxr_string">"ExternalSessionFactory ( "</span>
+<a name="68" href="#68">68</a>              + <span class="jxr_string">"address = "</span> + <strong class="jxr_keyword">this</strong>.address + TAB
+<a name="69" href="#69">69</a>              + <span class="jxr_string">"monitor = "</span> + <strong class="jxr_keyword">this</strong>.monitor + TAB
+<a name="70" href="#70">70</a>              + <span class="jxr_string">"shabang = "</span> + <strong class="jxr_keyword">this</strong>.shabang + TAB
+<a name="71" href="#71">71</a>              + <span class="jxr_string">" )"</span>;
+<a name="72" href="#72">72</a>  
+<a name="73" href="#73">73</a>          <strong class="jxr_keyword">return</strong> retValue;
+<a name="74" href="#74">74</a>      }
+<a name="75" href="#75">75</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/ExternalSessionFactory.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/HostSystem.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/HostSystem.html?rev=790538&view=auto
==============================================================================
--- james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/HostSystem.html (added)
+++ james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/HostSystem.html Thu Jul  2 10:18:09 2009
@@ -0,0 +1,71 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>HostSystem xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../../../../apache/apache-james-mpt-0.1/target/site/apidocs/org/apache/james/mpt/HostSystem.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment">**************************************************************</em>
+<a name="2" href="#2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one   *</em>
+<a name="3" href="#3">3</a>   <em class="jxr_javadoccomment"> * or more contributor license agreements.  See the NOTICE file *</em>
+<a name="4" href="#4">4</a>   <em class="jxr_javadoccomment"> * distributed with this work for additional information        *</em>
+<a name="5" href="#5">5</a>   <em class="jxr_javadoccomment"> * regarding copyright ownership.  The ASF licenses this file   *</em>
+<a name="6" href="#6">6</a>   <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the            *</em>
+<a name="7" href="#7">7</a>   <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance   *</em>
+<a name="8" href="#8">8</a>   <em class="jxr_javadoccomment"> * with the License.  You may obtain a copy of the License at   *</em>
+<a name="9" href="#9">9</a>   <em class="jxr_javadoccomment"> *                                                              *</em>
+<a name="10" href="#10">10</a>  <em class="jxr_javadoccomment"> *   <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a>                 *</em>
+<a name="11" href="#11">11</a>  <em class="jxr_javadoccomment"> *                                                              *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing,   *</em>
+<a name="13" href="#13">13</a>  <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an  *</em>
+<a name="14" href="#14">14</a>  <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *</em>
+<a name="15" href="#15">15</a>  <em class="jxr_javadoccomment"> * KIND, either express or implied.  See the License for the    *</em>
+<a name="16" href="#16">16</a>  <em class="jxr_javadoccomment"> * specific language governing permissions and limitations      *</em>
+<a name="17" href="#17">17</a>  <em class="jxr_javadoccomment"> * under the License.                                           *</em>
+<a name="18" href="#18">18</a>  <em class="jxr_javadoccomment"> ****************************************************************/</em>
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.james.mpt;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="23" href="#23">23</a>  <em class="jxr_javadoccomment"> * &lt;p&gt;Host system under test.&lt;/p&gt;</em>
+<a name="24" href="#24">24</a>  <em class="jxr_javadoccomment"> * &lt;p&gt;</em>
+<a name="25" href="#25">25</a>  <em class="jxr_javadoccomment"> * This interface encapsulates the interaction between the server</em>
+<a name="26" href="#26">26</a>  <em class="jxr_javadoccomment"> * under test and the test framework. MPT can be used to test components</em>
+<a name="27" href="#27">27</a>  <em class="jxr_javadoccomment"> * without the need to serve the protocol though a socket by creating a </em>
+<a name="28" href="#28">28</a>  <em class="jxr_javadoccomment"> * suitable implementation of this interface.</em>
+<a name="29" href="#29">29</a>  <em class="jxr_javadoccomment"> * &lt;/p&gt;</em>
+<a name="30" href="#30">30</a>  <em class="jxr_javadoccomment"> * @see ExternalHostSystem  ExternalHostSystem (a &lt;code&gt;HostSystem&lt;/code&gt; for servers</em>
+<a name="31" href="#31">31</a>  <em class="jxr_javadoccomment"> * running independently)</em>
+<a name="32" href="#32">32</a>  <em class="jxr_javadoccomment"> * @see Session Session (supports multiple connection to the host system)</em>
+<a name="33" href="#33">33</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="34" href="#34">34</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">interface</strong> <a href="../../../../org/apache/james/mpt/HostSystem.html">HostSystem</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../org/apache/james/mpt/SessionFactory.html">SessionFactory</a> {
+<a name="35" href="#35">35</a>  
+<a name="36" href="#36">36</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="37" href="#37">37</a>  <em class="jxr_javadoccomment">     * Resets host system to initial state.</em>
+<a name="38" href="#38">38</a>  <em class="jxr_javadoccomment">     * </em>
+<a name="39" href="#39">39</a>  <em class="jxr_javadoccomment">     * @throws Exception</em>
+<a name="40" href="#40">40</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="41" href="#41">41</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> reset() <strong class="jxr_keyword">throws</strong> Exception;
+<a name="42" href="#42">42</a>  
+<a name="43" href="#43">43</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="44" href="#44">44</a>  <em class="jxr_javadoccomment">     * Add a user for testing.</em>
+<a name="45" href="#45">45</a>  <em class="jxr_javadoccomment">     * </em>
+<a name="46" href="#46">46</a>  <em class="jxr_javadoccomment">     * @param user</em>
+<a name="47" href="#47">47</a>  <em class="jxr_javadoccomment">     *            user name</em>
+<a name="48" href="#48">48</a>  <em class="jxr_javadoccomment">     * @param password</em>
+<a name="49" href="#49">49</a>  <em class="jxr_javadoccomment">     *            user password</em>
+<a name="50" href="#50">50</a>  <em class="jxr_javadoccomment">     * @throws Exception</em>
+<a name="51" href="#51">51</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="52" href="#52">52</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> addUser(String user, String password) <strong class="jxr_keyword">throws</strong> Exception;
+<a name="53" href="#53">53</a>  
+<a name="54" href="#54">54</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">interface</strong> <a href="../../../../org/apache/james/mpt/HostSystem.html">Continuation</a> {
+<a name="55" href="#55">55</a>          <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> doContinue();
+<a name="56" href="#56">56</a>      }
+<a name="57" href="#57">57</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/HostSystem.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/InvalidServerResponseException.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/InvalidServerResponseException.html?rev=790538&view=auto
==============================================================================
--- james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/InvalidServerResponseException.html (added)
+++ james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/InvalidServerResponseException.html Thu Jul  2 10:18:09 2009
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>InvalidServerResponseException xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../../../../apache/apache-james-mpt-0.1/target/site/apidocs/org/apache/james/mpt/InvalidServerResponseException.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment">**************************************************************</em>
+<a name="2" href="#2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one   *</em>
+<a name="3" href="#3">3</a>   <em class="jxr_javadoccomment"> * or more contributor license agreements.  See the NOTICE file *</em>
+<a name="4" href="#4">4</a>   <em class="jxr_javadoccomment"> * distributed with this work for additional information        *</em>
+<a name="5" href="#5">5</a>   <em class="jxr_javadoccomment"> * regarding copyright ownership.  The ASF licenses this file   *</em>
+<a name="6" href="#6">6</a>   <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the            *</em>
+<a name="7" href="#7">7</a>   <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance   *</em>
+<a name="8" href="#8">8</a>   <em class="jxr_javadoccomment"> * with the License.  You may obtain a copy of the License at   *</em>
+<a name="9" href="#9">9</a>   <em class="jxr_javadoccomment"> *                                                              *</em>
+<a name="10" href="#10">10</a>  <em class="jxr_javadoccomment"> *   <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a>                 *</em>
+<a name="11" href="#11">11</a>  <em class="jxr_javadoccomment"> *                                                              *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing,   *</em>
+<a name="13" href="#13">13</a>  <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an  *</em>
+<a name="14" href="#14">14</a>  <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *</em>
+<a name="15" href="#15">15</a>  <em class="jxr_javadoccomment"> * KIND, either express or implied.  See the License for the    *</em>
+<a name="16" href="#16">16</a>  <em class="jxr_javadoccomment"> * specific language governing permissions and limitations      *</em>
+<a name="17" href="#17">17</a>  <em class="jxr_javadoccomment"> * under the License.                                           *</em>
+<a name="18" href="#18">18</a>  <em class="jxr_javadoccomment"> ****************************************************************/</em>
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.james.mpt;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="23" href="#23">23</a>  <em class="jxr_javadoccomment"> * An exception which is thrown when the actual response from a server is</em>
+<a name="24" href="#24">24</a>  <em class="jxr_javadoccomment"> * different from that expected.</em>
+<a name="25" href="#25">25</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="26" href="#26">26</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/james/mpt/InvalidServerResponseException.html">InvalidServerResponseException</a> <strong class="jxr_keyword">extends</strong> Exception {
+<a name="27" href="#27">27</a>  
+<a name="28" href="#28">28</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> serialVersionUID = 6489140960152710438L;
+<a name="29" href="#29">29</a>  
+<a name="30" href="#30">30</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/james/mpt/InvalidServerResponseException.html">InvalidServerResponseException</a>(String message) {
+<a name="31" href="#31">31</a>          <strong class="jxr_keyword">super</strong>(message);
+<a name="32" href="#32">32</a>      }
+<a name="33" href="#33">33</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/InvalidServerResponseException.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/Monitor.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/Monitor.html?rev=790538&view=auto
==============================================================================
--- james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/Monitor.html (added)
+++ james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/Monitor.html Thu Jul  2 10:18:09 2009
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>Monitor xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../../../../apache/apache-james-mpt-0.1/target/site/apidocs/org/apache/james/mpt/Monitor.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment">**************************************************************</em>
+<a name="2" href="#2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one   *</em>
+<a name="3" href="#3">3</a>   <em class="jxr_javadoccomment"> * or more contributor license agreements.  See the NOTICE file *</em>
+<a name="4" href="#4">4</a>   <em class="jxr_javadoccomment"> * distributed with this work for additional information        *</em>
+<a name="5" href="#5">5</a>   <em class="jxr_javadoccomment"> * regarding copyright ownership.  The ASF licenses this file   *</em>
+<a name="6" href="#6">6</a>   <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the            *</em>
+<a name="7" href="#7">7</a>   <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance   *</em>
+<a name="8" href="#8">8</a>   <em class="jxr_javadoccomment"> * with the License.  You may obtain a copy of the License at   *</em>
+<a name="9" href="#9">9</a>   <em class="jxr_javadoccomment"> *                                                              *</em>
+<a name="10" href="#10">10</a>  <em class="jxr_javadoccomment"> *   <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a>                 *</em>
+<a name="11" href="#11">11</a>  <em class="jxr_javadoccomment"> *                                                              *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing,   *</em>
+<a name="13" href="#13">13</a>  <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an  *</em>
+<a name="14" href="#14">14</a>  <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *</em>
+<a name="15" href="#15">15</a>  <em class="jxr_javadoccomment"> * KIND, either express or implied.  See the License for the    *</em>
+<a name="16" href="#16">16</a>  <em class="jxr_javadoccomment"> * specific language governing permissions and limitations      *</em>
+<a name="17" href="#17">17</a>  <em class="jxr_javadoccomment"> * under the License.                                           *</em>
+<a name="18" href="#18">18</a>  <em class="jxr_javadoccomment"> ****************************************************************/</em>
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.james.mpt;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="23" href="#23">23</a>  <em class="jxr_javadoccomment"> * Monitors the conduct of a process.</em>
+<a name="24" href="#24">24</a>  <em class="jxr_javadoccomment"> * Allows the caller to control the output of the logged information.</em>
+<a name="25" href="#25">25</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="26" href="#26">26</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">interface</strong> <a href="../../../../org/apache/james/mpt/Monitor.html">Monitor</a> {
+<a name="27" href="#27">27</a>      <strong class="jxr_keyword">void</strong> note(String message);
+<a name="28" href="#28">28</a>      <strong class="jxr_keyword">void</strong> debug(<strong class="jxr_keyword">char</strong> character);
+<a name="29" href="#29">29</a>      <strong class="jxr_keyword">void</strong> debug(String message);
+<a name="30" href="#30">30</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/Monitor.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/NullMonitor.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/NullMonitor.html?rev=790538&view=auto
==============================================================================
--- james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/NullMonitor.html (added)
+++ james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/NullMonitor.html Thu Jul  2 10:18:09 2009
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>NullMonitor xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../../../../apache/apache-james-mpt-0.1/target/site/apidocs/org/apache/james/mpt/NullMonitor.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment">**************************************************************</em>
+<a name="2" href="#2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one   *</em>
+<a name="3" href="#3">3</a>   <em class="jxr_javadoccomment"> * or more contributor license agreements.  See the NOTICE file *</em>
+<a name="4" href="#4">4</a>   <em class="jxr_javadoccomment"> * distributed with this work for additional information        *</em>
+<a name="5" href="#5">5</a>   <em class="jxr_javadoccomment"> * regarding copyright ownership.  The ASF licenses this file   *</em>
+<a name="6" href="#6">6</a>   <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the            *</em>
+<a name="7" href="#7">7</a>   <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance   *</em>
+<a name="8" href="#8">8</a>   <em class="jxr_javadoccomment"> * with the License.  You may obtain a copy of the License at   *</em>
+<a name="9" href="#9">9</a>   <em class="jxr_javadoccomment"> *                                                              *</em>
+<a name="10" href="#10">10</a>  <em class="jxr_javadoccomment"> *   <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a>                 *</em>
+<a name="11" href="#11">11</a>  <em class="jxr_javadoccomment"> *                                                              *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing,   *</em>
+<a name="13" href="#13">13</a>  <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an  *</em>
+<a name="14" href="#14">14</a>  <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *</em>
+<a name="15" href="#15">15</a>  <em class="jxr_javadoccomment"> * KIND, either express or implied.  See the License for the    *</em>
+<a name="16" href="#16">16</a>  <em class="jxr_javadoccomment"> * specific language governing permissions and limitations      *</em>
+<a name="17" href="#17">17</a>  <em class="jxr_javadoccomment"> * under the License.                                           *</em>
+<a name="18" href="#18">18</a>  <em class="jxr_javadoccomment"> ****************************************************************/</em>
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.james.mpt;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="23" href="#23">23</a>  <em class="jxr_javadoccomment"> * Discards all monitored messages.</em>
+<a name="24" href="#24">24</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="25" href="#25">25</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/james/mpt/NullMonitor.html">NullMonitor</a> implements <a href="../../../../org/apache/james/mpt/Monitor.html">Monitor</a> {
+<a name="26" href="#26">26</a>  
+<a name="27" href="#27">27</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> note(String message) {
+<a name="28" href="#28">28</a>      }
+<a name="29" href="#29">29</a>  
+<a name="30" href="#30">30</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> debug(<strong class="jxr_keyword">char</strong> character) {
+<a name="31" href="#31">31</a>      }
+<a name="32" href="#32">32</a>  
+<a name="33" href="#33">33</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> debug(String messsage) {
+<a name="34" href="#34">34</a>      }
+<a name="35" href="#35">35</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/NullMonitor.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/ProtocolInteractor.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/ProtocolInteractor.html?rev=790538&view=auto
==============================================================================
--- james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/ProtocolInteractor.html (added)
+++ james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/ProtocolInteractor.html Thu Jul  2 10:18:09 2009
@@ -0,0 +1,82 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>ProtocolInteractor xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../../../../apache/apache-james-mpt-0.1/target/site/apidocs/org/apache/james/mpt/ProtocolInteractor.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment">**************************************************************</em>
+<a name="2" href="#2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one   *</em>
+<a name="3" href="#3">3</a>   <em class="jxr_javadoccomment"> * or more contributor license agreements.  See the NOTICE file *</em>
+<a name="4" href="#4">4</a>   <em class="jxr_javadoccomment"> * distributed with this work for additional information        *</em>
+<a name="5" href="#5">5</a>   <em class="jxr_javadoccomment"> * regarding copyright ownership.  The ASF licenses this file   *</em>
+<a name="6" href="#6">6</a>   <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the            *</em>
+<a name="7" href="#7">7</a>   <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance   *</em>
+<a name="8" href="#8">8</a>   <em class="jxr_javadoccomment"> * with the License.  You may obtain a copy of the License at   *</em>
+<a name="9" href="#9">9</a>   <em class="jxr_javadoccomment"> *                                                              *</em>
+<a name="10" href="#10">10</a>  <em class="jxr_javadoccomment"> *   <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a>                 *</em>
+<a name="11" href="#11">11</a>  <em class="jxr_javadoccomment"> *                                                              *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing,   *</em>
+<a name="13" href="#13">13</a>  <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an  *</em>
+<a name="14" href="#14">14</a>  <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *</em>
+<a name="15" href="#15">15</a>  <em class="jxr_javadoccomment"> * KIND, either express or implied.  See the License for the    *</em>
+<a name="16" href="#16">16</a>  <em class="jxr_javadoccomment"> * specific language governing permissions and limitations      *</em>
+<a name="17" href="#17">17</a>  <em class="jxr_javadoccomment"> * under the License.                                           *</em>
+<a name="18" href="#18">18</a>  <em class="jxr_javadoccomment"> ****************************************************************/</em>
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.james.mpt;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> java.util.List;
+<a name="23" href="#23">23</a>  
+<a name="24" href="#24">24</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="25" href="#25">25</a>  <em class="jxr_javadoccomment"> * Scripts a protocol interaction.</em>
+<a name="26" href="#26">26</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="27" href="#27">27</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">interface</strong> <a href="../../../../org/apache/james/mpt/ProtocolInteractor.html">ProtocolInteractor</a> {
+<a name="28" href="#28">28</a>  
+<a name="29" href="#29">29</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="30" href="#30">30</a>  <em class="jxr_javadoccomment">     * adds a new Client request line to the test elements</em>
+<a name="31" href="#31">31</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="32" href="#32">32</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> CL(String clientLine);
+<a name="33" href="#33">33</a>  
+<a name="34" href="#34">34</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="35" href="#35">35</a>  <em class="jxr_javadoccomment">     * adds a new Server Response line to the test elements, with the specified</em>
+<a name="36" href="#36">36</a>  <em class="jxr_javadoccomment">     * location.</em>
+<a name="37" href="#37">37</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="38" href="#38">38</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> SL(String serverLine, String location);
+<a name="39" href="#39">39</a>  
+<a name="40" href="#40">40</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="41" href="#41">41</a>  <em class="jxr_javadoccomment">     * adds a new Server Unordered Block to the test elements.</em>
+<a name="42" href="#42">42</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="43" href="#43">43</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> SUB(List&lt;String&gt; serverLines, String location);
+<a name="44" href="#44">44</a>  
+<a name="45" href="#45">45</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="46" href="#46">46</a>  <em class="jxr_javadoccomment">     * adds a new Client request line to the test elements</em>
+<a name="47" href="#47">47</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="48" href="#48">48</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> CL(<strong class="jxr_keyword">int</strong> sessionNumber, String clientLine);
+<a name="49" href="#49">49</a>  
+<a name="50" href="#50">50</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="51" href="#51">51</a>  <em class="jxr_javadoccomment">     * Adds a continuation. To allow one thread to be used for testing.</em>
+<a name="52" href="#52">52</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="53" href="#53">53</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> CONT(<strong class="jxr_keyword">int</strong> sessionNumber) <strong class="jxr_keyword">throws</strong> Exception;
+<a name="54" href="#54">54</a>  
+<a name="55" href="#55">55</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="56" href="#56">56</a>  <em class="jxr_javadoccomment">     * adds a new Server Response line to the test elements, with the specified</em>
+<a name="57" href="#57">57</a>  <em class="jxr_javadoccomment">     * location.</em>
+<a name="58" href="#58">58</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="59" href="#59">59</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> SL(<strong class="jxr_keyword">int</strong> sessionNumber, String serverLine,
+<a name="60" href="#60">60</a>              String location, String lastClientMessage);
+<a name="61" href="#61">61</a>  
+<a name="62" href="#62">62</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="63" href="#63">63</a>  <em class="jxr_javadoccomment">     * adds a new Server Unordered Block to the test elements.</em>
+<a name="64" href="#64">64</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="65" href="#65">65</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> SUB(<strong class="jxr_keyword">int</strong> sessionNumber, List&lt;String&gt; serverLines,
+<a name="66" href="#66">66</a>              String location, String lastClientMessage);
+<a name="67" href="#67">67</a>  
+<a name="68" href="#68">68</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: james/site/trunk/www/mpt/1.0/xref/org/apache/james/mpt/ProtocolInteractor.html
------------------------------------------------------------------------------
    svn:eol-style = native