public class XmlLoggingInternalClient extends InternalClient
Modifier and Type | Field and Description |
---|---|
private java.io.PrintStream |
out_ |
Constructor and Description |
---|
XmlLoggingInternalClient(java.net.URL endpoint,
java.io.PrintStream out)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
deserializeResponse(java.io.InputStream in)
Deserializes an XML-RPC
methodResponse document to a
Java object. |
protected byte[] |
serializeCall(java.lang.String method,
java.util.List paramList)
Generates the XML
methodCall document corresponding
to an XML-RPC method call. |
callAndForget, callAndWait
public XmlLoggingInternalClient(java.net.URL endpoint, java.io.PrintStream out)
endpoint
- endpointout
- output stream for loggingprotected byte[] serializeCall(java.lang.String method, java.util.List paramList) throws java.io.IOException
InternalClient
methodCall
document corresponding
to an XML-RPC method call.serializeCall
in class InternalClient
method
- methodName stringparamList
- list of XML-RPC parametersjava.io.IOException
protected java.lang.Object deserializeResponse(java.io.InputStream in) throws java.io.IOException
InternalClient
methodResponse
document to a
Java object.deserializeResponse
in class InternalClient
in
- input stream containing response documentjava.io.IOException