Hi Scott, Thank you so much for your fast response to my posting to "[email protected]".
I would gladly contribute the XMLSocketHubReceiver to the log4j project. That is why I did post to log4net-user, isn't it? ;-)
It was really great if you could add the receiver to the project as well as to the Chainsaw receiver menu. Hopefully the guys of the log4cxx project can use the receiver, too.
The attached .jar file contains the classes as well as the source code. In order to get the receiver working I had to change the package from "org.apache ..." to "de.tools400 ...". Of course that can be reversed.
Regards, Thomas Raddatz. Snippet from the original posting: <snippet> My XMLSocketHubReceiver actually is a copy of the SocketHubReceiver. I added a XMLDecoder and I replaced the SocketNode with a XMLSocketNode. I also had to add addListener() and removeListener() methods to the XMLSocketNode and replace the 'listener' with a 'listenerList'. Finally I had to create an exception in XMLSocketnode.run() in case is.read() returned -1 (connection lost) because the Chainsaw socketClosedEvent listener did not like the null exception. No more no less. There is no need to add my name (footprint) to the project. All I ask for is to add the XMLSocketHubReceiver to the log4j package. It was over the top if it could also be added to the Chainsaw menu. </snippet>
XMLSocketHubReceiver.jar
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
