org.freecompany.brimstone.core
Class ConnectionMulticastListener

java.lang.Object
  extended by org.freecompany.brimstone.core.ConnectionMulticastListener
All Implemented Interfaces:
java.util.EventListener, URNConnection.Listener

public class ConnectionMulticastListener
extends java.lang.Object
implements URNConnection.Listener


Field Summary
protected  URNConnection.Listener a
           
protected  URNConnection.Listener b
           
 
Method Summary
static URNConnection.Listener add(URNConnection.Listener a, URNConnection.Listener b)
           
protected static URNConnection.Listener addInternal(URNConnection.Listener a, URNConnection.Listener b)
           
 void checkRepository(URNConnection connection, java.net.URL url)
           
 void complete(URNConnection connection)
           
 void foundInCache(URNConnection connection)
           
 void foundLocation(URNConnection connection, java.net.URL url)
           
protected  URNConnection.Listener remove(URNConnection.Listener oldl)
           
static URNConnection.Listener remove(URNConnection.Listener l, URNConnection.Listener oldl)
           
protected static URNConnection.Listener removeInternal(URNConnection.Listener l, URNConnection.Listener oldl)
           
 void transferred(URNConnection connection, int bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

protected URNConnection.Listener a

b

protected URNConnection.Listener b
Method Detail

removeInternal

protected static URNConnection.Listener removeInternal(URNConnection.Listener l,
                                                       URNConnection.Listener oldl)

addInternal

protected static URNConnection.Listener addInternal(URNConnection.Listener a,
                                                    URNConnection.Listener b)

remove

protected URNConnection.Listener remove(URNConnection.Listener oldl)

add

public static URNConnection.Listener add(URNConnection.Listener a,
                                         URNConnection.Listener b)

remove

public static URNConnection.Listener remove(URNConnection.Listener l,
                                            URNConnection.Listener oldl)

foundInCache

public void foundInCache(URNConnection connection)
Specified by:
foundInCache in interface URNConnection.Listener

checkRepository

public void checkRepository(URNConnection connection,
                            java.net.URL url)
Specified by:
checkRepository in interface URNConnection.Listener

foundLocation

public void foundLocation(URNConnection connection,
                          java.net.URL url)
Specified by:
foundLocation in interface URNConnection.Listener

transferred

public void transferred(URNConnection connection,
                        int bytes)
Specified by:
transferred in interface URNConnection.Listener

complete

public void complete(URNConnection connection)
Specified by:
complete in interface URNConnection.Listener