com.aelitis.azureus.core.cnetwork
Interface ContentNetworkManager
- All Known Implementing Classes:
- ContentNetworkManagerImpl
public interface ContentNetworkManager
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)