org.tranche.network
Class ConnectionUtilStatusTableListener

java.lang.Object
  extended by org.tranche.network.ConnectionUtilStatusTableListener
All Implemented Interfaces:
StatusTableListener

public class ConnectionUtilStatusTableListener
extends java.lang.Object
implements StatusTableListener

Listens for changes in status table on behalf of the ConnectionUtil.

Note that I moved this to a separate class because the thread dumps from jstack were not complete if a listener is anonymously declared inside a thread. =(

Author:
Tranche

Constructor Summary
ConnectionUtilStatusTableListener()
           
 
Method Summary
 void rowsAdded(StatusTableEvent ste)
          Event fired when a row is added to the status table.
 void rowsRemoved(StatusTableEvent ste)
          Event fired when a row is removed from the status table.
 void rowsUpdated(StatusTableEvent ste)
          Event fired when a row in the status table is updated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionUtilStatusTableListener

public ConnectionUtilStatusTableListener()
Method Detail

rowsAdded

public void rowsAdded(StatusTableEvent ste)
Description copied from interface: StatusTableListener

Event fired when a row is added to the status table.

Specified by:
rowsAdded in interface StatusTableListener
Parameters:
ste - Holds the information describing the event.

rowsUpdated

public void rowsUpdated(StatusTableEvent ste)
Description copied from interface: StatusTableListener

Event fired when a row in the status table is updated.

Specified by:
rowsUpdated in interface StatusTableListener
Parameters:
ste - Holds the information describing the event.

rowsRemoved

public void rowsRemoved(StatusTableEvent ste)
Description copied from interface: StatusTableListener

Event fired when a row is removed from the status table.

Specified by:
rowsRemoved in interface StatusTableListener
Parameters:
ste - Holds the information describing the event.


This code is free for use both commercially and non-commercially as stated in the project's license