Public Member Functions | Protected Member Functions | Private Attributes
org.apache.xmlrpc.client.XmlRpcLocalStreamTransport Class Reference
Inheritance diagram for org.apache.xmlrpc.client.XmlRpcLocalStreamTransport:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 XmlRpcLocalStreamTransport (XmlRpcClient pClient, XmlRpcStreamRequestProcessor pServer)

Protected Member Functions

void close () throws XmlRpcClientException
InputStream getInputStream () throws XmlRpcException
boolean isResponseGzipCompressed (XmlRpcStreamRequestConfig pConfig)
ReqWriter newReqWriter (XmlRpcRequest pRequest) throws XmlRpcException, IOException, SAXException
void writeRequest (ReqWriter pWriter) throws XmlRpcException, IOException, SAXException

Private Attributes

LocalStreamConnection conn
final XmlRpcStreamRequestProcessor localServer
XmlRpcRequest request

Detailed Description

Another local transport for debugging and testing. This one is similar to the org.apache.xmlrpc.client.XmlRpcLocalTransport, except that it adds request serialization. In other words, it is particularly well suited for development and testing of XML serialization and parsing.

Definition at line 40 of file XmlRpcLocalStreamTransport.java.


Constructor & Destructor Documentation

Creates a new instance.

Parameters:
pClientThe client, which is controlling the transport.
pServerAn instance of XmlRpcStreamRequestProcessor.

Definition at line 49 of file XmlRpcLocalStreamTransport.java.


Member Function Documentation

Closes the connection and ensures, that all resources are being released.

Implements org.apache.xmlrpc.client.XmlRpcStreamTransport.

Definition at line 59 of file XmlRpcLocalStreamTransport.java.

InputStream org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.getInputStream ( ) throws XmlRpcException [inline, protected, virtual]

Returns the input stream, from which the response is being read.

Implements org.apache.xmlrpc.client.XmlRpcStreamTransport.

Definition at line 62 of file XmlRpcLocalStreamTransport.java.

Returns, whether the response is gzip compressed.

Parameters:
pConfigThe clients configuration.
Returns:
Whether the response stream is gzip compressed.

Implements org.apache.xmlrpc.client.XmlRpcStreamTransport.

Definition at line 55 of file XmlRpcLocalStreamTransport.java.

ReqWriter org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.newReqWriter ( XmlRpcRequest  pRequest) throws XmlRpcException, IOException, SAXException [inline, protected]

Creates a new instance of ReqWriter.

Exceptions:
XmlRpcExceptionCreating the instance failed.
IOExceptionCreating the instance failed, because an IOException occurs.
SAXExceptionCreating the instance failed, because the request could not be parsed.

Reimplemented from org.apache.xmlrpc.client.XmlRpcStreamTransport.

Definition at line 67 of file XmlRpcLocalStreamTransport.java.

void org.apache.xmlrpc.client.XmlRpcLocalStreamTransport.writeRequest ( ReqWriter  pWriter) throws XmlRpcException, IOException, SAXException [inline, protected, virtual]

Member Data Documentation

Definition at line 42 of file XmlRpcLocalStreamTransport.java.

Definition at line 41 of file XmlRpcLocalStreamTransport.java.

Definition at line 43 of file XmlRpcLocalStreamTransport.java.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:50