org.apache.log4j.net

Class SocketNode

Implemented Interfaces:
Runnable

public class SocketNode
extends Object
implements Runnable

Read LoggingEvent objects sent from a remote client using Sockets (TCP). These logging events are logged according to local policy, as if they were generated locally.

For example, the socket node might decide to log events to a local file and also resent them to a second socket node.

Author:
Ceki Gülcü
Since:
0.8.4

Constructor Summary

SocketNode(Socket socket, LoggerRepository hierarchy)

Method Summary

void
run()

Constructor Details

SocketNode

public SocketNode(Socket socket,
                  LoggerRepository hierarchy)

Method Details

run

public void run()

Copyright 2000-2005 Apache Software Foundation.