public class XmlRpcLocalStreamTransportFactory extends XmlRpcStreamTransportFactory
XmlRpcLocalTransportFactory
,
except that it adds request serialization. In other words, it is
particularly well suited for development and testing of XML serialization
and parsing.Modifier and Type | Field and Description |
---|---|
private XmlRpcStreamRequestProcessor |
server |
Constructor and Description |
---|
XmlRpcLocalStreamTransportFactory(XmlRpcClient pClient,
XmlRpcStreamRequestProcessor pServer)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
XmlRpcTransport |
getTransport()
Returns an instance of
XmlRpcTransport . |
getClient
private final XmlRpcStreamRequestProcessor server
public XmlRpcLocalStreamTransportFactory(XmlRpcClient pClient, XmlRpcStreamRequestProcessor pServer)
pClient
- The client controlling the factory.pServer
- An instance of XmlRpcStreamRequestProcessor
.public XmlRpcTransport getTransport()
XmlRpcTransportFactory
XmlRpcTransport
. This may
be a singleton, but the caller should not depend on that:
A new instance may as well be created for any request.