org.apache.xmlrpc.common
Interface ServerStreamConnection

All Known Subinterfaces:
ServerHttpConnection
All Known Implementing Classes:
Connection, XmlRpcServletServer.ServletStreamConnection

public interface ServerStreamConnection

Interface of an object, which is able to provide an XML stream, containing an XML-RPC request. Additionally, the object may also be used to write the response as an XML stream.


Method Summary
 void close()
          Closes the connection, and frees resources.
 InputStream newInputStream()
          Returns the connections input stream.
 OutputStream newOutputStream()
          Returns the connections output stream.
 

Method Detail

newInputStream

InputStream newInputStream()
                           throws IOException
Returns the connections input stream.

Throws:
IOException

newOutputStream

OutputStream newOutputStream()
                             throws IOException
Returns the connections output stream.

Throws:
IOException

close

void close()
           throws IOException
Closes the connection, and frees resources.

Throws:
IOException


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