Package | Description |
---|---|
org.apache.log4j.net |
Modifier and Type | Class and Description |
---|---|
class |
SocketHubReceiver
SocketHubReceiver receives a remote logging event on a configured
socket and "posts" it to a LoggerRepository as if the event was
generated locally.
|
Modifier and Type | Method and Description |
---|---|
SocketNodeEventListener |
SocketReceiver.getListener()
Deprecated.
This receiver now supports multiple listeners
|
Modifier and Type | Method and Description |
---|---|
void |
SocketNode13.addSocketNodeEventListener(SocketNodeEventListener listener)
Adds the listener to the list of listeners to be notified of the
respective event.
|
void |
SocketHubReceiver.addSocketNodeEventListener(SocketNodeEventListener l)
Adds a SocketNodeEventListener to this receiver to be notified
of SocketNode events.
|
void |
SocketReceiver.addSocketNodeEventListener(SocketNodeEventListener l)
Adds the listener to the list of listeners to be notified of the
respective event.
|
void |
SocketNode13.removeSocketNodeEventListener(SocketNodeEventListener listener)
Removes the registered Listener from this instances list of
listeners.
|
void |
SocketHubReceiver.removeSocketNodeEventListener(SocketNodeEventListener l)
Removes a specific SocketNodeEventListener from this instance
so that it will no longer be notified of SocketNode events.
|
void |
SocketReceiver.removeSocketNodeEventListener(SocketNodeEventListener l)
Removes the registered Listener from this instances list of
listeners.
|
void |
SocketNode13.setListener(SocketNodeEventListener l)
Deprecated.
Now supports mutliple listeners, this method
simply invokes the removeSocketNodeEventListener() to remove
the listener, and then readds it.
|
void |
XMLSocketNode.setListener(SocketNodeEventListener _listener)
Set the event listener on this node.
|
void |
SocketReceiver.setListener(SocketNodeEventListener l)
Deprecated.
This receiver now supports multiple listeners and
so this method simply removes the listener (if there already)
and readds it to the list.
The passed listener will also be returned via the getListener()
method still, but this is also deprecated
|
Copyright © 2002-2017 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.