org.apache.xmlrpc.client

Interface XmlRpcTransport

Known Implementing Classes:
XmlRpcCommonsTransport, XmlRpcHttpTransport, XmlRpcLiteHttpTransport, XmlRpcLocalStreamTransport, XmlRpcLocalTransport, XmlRpcStreamTransport, XmlRpcSunHttpTransport, XmlRpcTransportImpl

public interface XmlRpcTransport

Interface from XML-RPC to an underlying transport, most likely based on HTTP. Replaces the interface org.apache.xmlrpc.client from Apache XML-RPC 2.0, which has actually been a stream based transport.
Since:
3.0

Method Summary

Object
sendRequest(XmlRpcRequest pRequest)
Send an XML-RPC message.

Method Details

sendRequest

public Object sendRequest(XmlRpcRequest pRequest)
            throws XmlRpcException
Send an XML-RPC message. This method is called to send a message to the other party.
Parameters:
pRequest - The request being performed.
Returns:
Result object, if invoking the remote method was successfull.
Throws:
XmlRpcException - Performing the request failed.

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.