org.apache.xmlrpc

Interface XmlRpcTransport

public interface XmlRpcTransport

Interface from XML-RPC to an underlying transport, most likely base on HTTP.

Since: 1.2

Version: $Id: XmlRpcTransport.java 233919 2005-04-22 10:26:17Z hgomez $

Author: Hannes Wallnoefer Andrew Evers

Method Summary
voidendClientRequest()
End an XML-RPC request.
InputStreamsendXmlRpc(byte[] request)
Send an XML-RPC message.

Method Detail

endClientRequest

public void endClientRequest()
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)
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: IOException if an IOException occurs in the IO level of the transport. XmlRpcClientException if an exception occurs in the transport.

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