org.deegree.enterprise.control
Interface RPCMethodResponse

All Known Implementing Classes:
RPCMethodResponse_Impl

public interface RPCMethodResponse

encapsulates the result to a RPC. This can be an object or an instance of RPCFault if an exception occured while performing a RPC

Version:
$Revision: 1.1 $ $Date: 2003/10/27 09:48:52 $
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
 

Method Detail

hasFault

public boolean hasFault()
returns true if the result contains a fault and not the expected data

Returns:
true if a fault occured

getReturn

public RPCParameter[] getReturn()
returns the result of a method call as array of RPCParameters

Returns:
result parameters

getFault

public RPCFault getFault()
returns the fault object if a fault occured while performing a RPC

Returns:
fault object