Log4j 1.3alpha-3

org.apache.log4j.net
Interface SocketNodeEventListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
SocketHubReceiver

public interface SocketNodeEventListener
extends java.util.EventListener

Interface used to listen for SocketNode related events. Clients register an instance of the interface and the instance is called back when the various events occur.

Since:
1.3
Author:
Mark Womack, Paul Smith

Method Summary
 void socketClosedEvent(java.lang.Exception e)
          Called when the socket the node was given has been closed.
 void socketOpened(java.lang.String remoteInfo)
          Called when the SocketNode is created and begins awaiting data.
 

Method Detail

socketOpened

public void socketOpened(java.lang.String remoteInfo)
Called when the SocketNode is created and begins awaiting data.


socketClosedEvent

public void socketClosedEvent(java.lang.Exception e)
Called when the socket the node was given has been closed.


Log4j 1.3alpha-3

Copyright 2000-2003 Apache Software Foundation.