com.aelitis.azureus.core.cnetwork
Interface ContentNetworkManager

All Known Implementing Classes:
ContentNetworkManagerImpl

public interface ContentNetworkManager


Method Summary
 void addContentNetwork(long id)
          ContentNetworkListener.networkAdded(ContentNetwork) will be called once the network is added
 void addListener(ContentNetworkListener listener)
           
 ContentNetwork getContentNetwork(long id)
           
 ContentNetwork getContentNetworkForURL(java.lang.String url)
          Checks networks for those that have this URL as their site
 ContentNetwork[] getContentNetworks()
           
 ContentNetwork getStartupContentNetwork()
           
 void removeListener(ContentNetworkListener listener)
           
 

Method Detail

getContentNetworks

ContentNetwork[] getContentNetworks()

getContentNetwork

ContentNetwork getContentNetwork(long id)

getStartupContentNetwork

ContentNetwork getStartupContentNetwork()

getContentNetworkForURL

ContentNetwork getContentNetworkForURL(java.lang.String url)
Checks networks for those that have this URL as their site

Returns:
matching network, null if none

addContentNetwork

void addContentNetwork(long id)
                       throws ContentNetworkException
ContentNetworkListener.networkAdded(ContentNetwork) will be called once the network is added

Throws:
ContentNetworkException

addListener

void addListener(ContentNetworkListener listener)

removeListener

void removeListener(ContentNetworkListener listener)