org.deegree_impl.enterprise.control
Class RPCMethodResponse_Impl
java.lang.Object
   org.deegree_impl.enterprise.control.RPCMethodResponse_Impl
org.deegree_impl.enterprise.control.RPCMethodResponse_Impl
- All Implemented Interfaces: 
- RPCMethodResponse
- public class RPCMethodResponse_Impl- extends java.lang.Object- implements RPCMethodResponse
The class encapsulates the result to a RPC. This can be an object or an
 instance of RPCFault if an exception occured while performing a
 RPC
 hilmel@web.de mela
- Version:
- $Revision: 1.1 $ $Date: 2003/10/27 09:49:30 $
- Author:
- Andreas Poth
 
 
| Method Summary | 
|  RPCFault | getFault()returns the fault object if a fault occured while performing a RPC
 | 
|  RPCParameter[] | getReturn()returns the result of a method call as array of RPCParameters
 | 
|  boolean | hasFault()returns true if the result contains a fault and not the expected data
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
fault_
private boolean fault_
return_
private RPCParameter[] return_
fault
private RPCFault fault
RPCMethodResponse_Impl
RPCMethodResponse_Impl(RPCParameter[] return_)
RPCMethodResponse_Impl
RPCMethodResponse_Impl(RPCFault fault)
hasFault
public boolean hasFault()
- returns true if the result contains a fault and not the expected data
 
- 
- Specified by:
- hasFaultin interface- RPCMethodResponse
 
- 
- Returns:
- true if a fault occured
 
getReturn
public RPCParameter[] getReturn()
- returns the result of a method call as array of RPCParameters
 
- 
- Specified by:
- getReturnin interface- RPCMethodResponse
 
- 
- Returns:
- result parameters
 
getFault
public RPCFault getFault()
- returns the fault object if a fault occured while performing a RPC
 
- 
- Specified by:
- getFaultin interface- RPCMethodResponse
 
- 
- Returns:
- fault object