org.apache.xmlrpc.client
Interface XmlRpcTransport

All Known Implementing Classes:
XmlRpcCommonsTransport, XmlRpcHttpTransport, XmlRpcLite14HttpTransport, XmlRpcLiteHttpTransport, XmlRpcLocalStreamTransport, XmlRpcLocalTransport, XmlRpcStreamTransport, XmlRpcSun14HttpTransport, XmlRpcSun15HttpTransport, 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
 java.lang.Object sendRequest(XmlRpcRequest pRequest)
          Send an XML-RPC message.
 

Method Detail

sendRequest

java.lang.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-2010 The Apache Software Foundation. All Rights Reserved.