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, callAndWaitpublic 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
InternalClientmethodCall document corresponding
to an XML-RPC method call.serializeCall in class InternalClientmethod - methodName stringparamList - list of XML-RPC parametersjava.io.IOExceptionprotected java.lang.Object deserializeResponse(java.io.InputStream in)
throws java.io.IOException
InternalClientmethodResponse document to a
Java object.deserializeResponse in class InternalClientin - input stream containing response documentjava.io.IOException