org.apache.xmlrpc.common
Class LocalStreamConnection

java.lang.Object
  extended by org.apache.xmlrpc.common.LocalStreamConnection

public class LocalStreamConnection
extends java.lang.Object

Implementation of LocalStreamConnection.LocalServerStreamConnection for use by the org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.


Nested Class Summary
private  class LocalStreamConnection.LocalServerStreamConnection
           
 
Field Summary
private  XmlRpcStreamRequestConfig config
           
private  java.io.InputStream request
           
private  java.io.ByteArrayOutputStream response
           
private  ServerStreamConnection serverStreamConnection
           
 
Constructor Summary
LocalStreamConnection(XmlRpcStreamRequestConfig pConfig, java.io.InputStream pRequest)
          Creates a new instance with the given request stream.
 
Method Summary
 XmlRpcStreamRequestConfig getConfig()
          Returns the request configuration.
 java.io.InputStream getRequest()
          Returns the request stream.
 java.io.ByteArrayOutputStream getResponse()
          Returns an output stream, to which the response may be written.
 ServerStreamConnection getServerStreamConnection()
          Returns the servers connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

private final java.io.InputStream request

config

private final XmlRpcStreamRequestConfig config

response

private final java.io.ByteArrayOutputStream response

serverStreamConnection

private final ServerStreamConnection serverStreamConnection
Constructor Detail

LocalStreamConnection

public LocalStreamConnection(XmlRpcStreamRequestConfig pConfig,
                             java.io.InputStream pRequest)
Creates a new instance with the given request stream.

Method Detail

getRequest

public java.io.InputStream getRequest()
Returns the request stream.


getConfig

public XmlRpcStreamRequestConfig getConfig()
Returns the request configuration.


getResponse

public java.io.ByteArrayOutputStream getResponse()
Returns an output stream, to which the response may be written.


getServerStreamConnection

public ServerStreamConnection getServerStreamConnection()
Returns the servers connection.