FileDocCategorySizeDatePackage
TorrentDownload.javaAPI DocAzureus 3.0.3.42327Thu Feb 09 19:43:22 GMT 2006com.aelitis.azureus.core.peermanager.download

TorrentDownload

public class TorrentDownload extends Object

Fields Summary
private final org.gudy.azureus2.core3.peer.impl.PEPeerControl
legacy_peer_manager
private TorrentSessionAuthenticator
session_auth
Constructors Summary
protected TorrentDownload(org.gudy.azureus2.core3.peer.impl.PEPeerControl legacy_peer_manager)

  //default to standard auth
  
  
       
    this.legacy_peer_manager = legacy_peer_manager;
    TorrentSessionManager.getSingleton().registerForSessionManagement( this );  //register for incoming session requests
  
Methods Summary
public voidderegisterTorrentSession(TorrentSession session)


  
public voiddestroy()

    TorrentSessionManager.getSingleton().deregisterForSessionManagement( this );
  
public byte[]getInfoHash()

  return legacy_peer_manager.getHash();  
public org.gudy.azureus2.core3.peer.impl.PEPeerControlgetLegacyPeerManager()

  return legacy_peer_manager;  
public TorrentSessionAuthenticatorgetSessionAuthenticator()

  return session_auth;  
public voidregisterTorrentSession(TorrentSession session)


  
public voidsetSessionAuthenticator(TorrentSessionAuthenticator auth)

  session_auth = auth;