View Javadoc

1   /*
2   Wotonomy: OpenStep design patterns for pure Java applications.
3   Copyright (C) 2000 Intersect Software Corporation
4   
5   This library is free software; you can redistribute it and/or
6   modify it under the terms of the GNU Lesser General Public
7   License as published by the Free Software Foundation; either
8   version 2.1 of the License, or (at your option) any later version.
9   
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  Lesser General Public License for more details.
14  
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, see http://www.gnu.org
17  */
18  
19  package net.wotonomy.web.xml;
20  
21  /***
22  * A call-back interface that receives an XML-RPC transaction message.
23  * Used by XMLRPCDecoder to return values from a message.
24  */
25  public interface XMLRPCReceiver
26  {
27      /***
28      * Receives an XML-RPC request.
29      * @param aMethodName The method name of the request.
30      * @param aParameterArray The objects contained in the request, in order.
31      */ 
32      void request( String aMethodName, Object[] aParameterArray );
33      
34      /***
35      * Receives an XML-RPC response.
36      * @param aResult The object contained in the response.
37      */ 
38      void response( Object aResult );
39      
40      /***
41      * Receives an XML-RPC fault response.
42      * @param aFaultCode The fault code contained in the response.
43      * @param aFaultString The fault string contained in the response.
44      */
45      void fault( int aFaultCode, String aFaultString );
46  }
47  
48  /*
49   * $Log$
50   * Revision 1.1  2006/02/19 01:44:02  cgruber
51   * Add xmlrpc files
52   * Remove jclark and replace with dom4j and javax.xml.sax stuff
53   * Re-work dependencies and imports so it all compiles.
54   *
55   * Revision 1.1  2006/02/16 13:22:22  cgruber
56   * Check in all sources in eclipse-friendly maven-enabled packages.
57   *
58   * Revision 1.2  2001/02/06 14:34:23  mpowers
59   * Forgot to rename the package declarations.
60   *
61   * Revision 1.1  2001/02/06 14:31:19  mpowers
62   * Moving XML utilities from util to xml package.
63   *
64   * Revision 1.1.1.1  2000/12/21 15:52:44  mpowers
65   * Contributing wotonomy.
66   *
67   * Revision 1.2  2000/12/20 16:25:49  michael
68   * Added log to all files.
69   *
70   *
71   */
72