org.apache.xmlrpc

Interface XmlRpcTransport

Known Implementing Classes:
CommonsXmlRpcTransport, DefaultXmlRpcTransport, LiteXmlRpcTransport

public interface XmlRpcTransport

Interface from XML-RPC to an underlying transport, most likely base on HTTP.
Version:
$Id: XmlRpcTransport.java 233919 2005-04-22 10:26:17Z hgomez $
Authors:
Hannes Wallnoefer
Andrew Evers
Since:
1.2

Method Summary

void
endClientRequest()
End an XML-RPC request.
InputStream
sendXmlRpc(byte[] request)
Send an XML-RPC message.

Method Details

endClientRequest

public void endClientRequest()
            throws XmlRpcClientException
End an XML-RPC request. This method is called by the XmlRpcClient when then request has been sent and the response (or an exception) recieved.
Throws:
XmlRpcClientException - if an exception occurs in the transport.

sendXmlRpc

public InputStream sendXmlRpc(byte[] request)
            throws IOException,
                   XmlRpcClientException
Send an XML-RPC message. This method is called to send a message to the other party.
Parameters:
request - the request in network encoding.
Throws:
XmlRpcClientException - if an exception occurs in the transport.

Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.