org.apache.xmlrpc
Interface XmlRpcTransport

All Known Implementing Classes:
CommonsXmlRpcTransport, DefaultXmlRpcTransport, LiteXmlRpcTransport

public interface XmlRpcTransport

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

Since:
1.2
Version:
$Id: XmlRpcTransport.html 359531 2005-12-28 13:59:25Z jochen $
Author:
Hannes Wallnoefer, Andrew Evers

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

Method Detail

sendXmlRpc

java.io.InputStream sendXmlRpc(byte[] request)
                               throws java.io.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:
java.io.IOException - if an IOException occurs in the IO level of the transport.
XmlRpcClientException - if an exception occurs in the transport.

endClientRequest

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.


Copyright 2001-2001-2005 Apache Software Foundation. All Rights Reserved.