org.gudy.azureus2.core3.tracker.host.impl
Class TRHostTorrentRequestImpl

java.lang.Object
  extended by org.gudy.azureus2.core3.tracker.host.impl.TRHostTorrentRequestImpl
All Implemented Interfaces:
TRHostTorrentRequest

public class TRHostTorrentRequestImpl
extends java.lang.Object
implements TRHostTorrentRequest


Field Summary
protected  TRHostPeer peer
           
protected  TRTrackerServerRequest request
           
protected  TRHostTorrent torrent
           
 
Fields inherited from interface org.gudy.azureus2.core3.tracker.host.TRHostTorrentRequest
RT_ANNOUNCE, RT_FULL_SCRAPE, RT_SCRAPE
 
Constructor Summary
protected TRHostTorrentRequestImpl(TRHostTorrent _torrent, TRHostPeer _peer, TRTrackerServerRequest _request)
           
 
Method Summary
 TRHostPeer getPeer()
           
 java.lang.String getRequest()
           
 int getRequestType()
           
 java.util.Map getResponse()
           
 TRHostTorrent getTorrent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

torrent

protected final TRHostTorrent torrent

peer

protected final TRHostPeer peer

request

protected final TRTrackerServerRequest request
Constructor Detail

TRHostTorrentRequestImpl

protected TRHostTorrentRequestImpl(TRHostTorrent _torrent,
                                   TRHostPeer _peer,
                                   TRTrackerServerRequest _request)
Method Detail

getPeer

public TRHostPeer getPeer()
Specified by:
getPeer in interface TRHostTorrentRequest

getTorrent

public TRHostTorrent getTorrent()
Specified by:
getTorrent in interface TRHostTorrentRequest

getRequestType

public int getRequestType()
Specified by:
getRequestType in interface TRHostTorrentRequest

getRequest

public java.lang.String getRequest()
Specified by:
getRequest in interface TRHostTorrentRequest

getResponse

public java.util.Map getResponse()
Specified by:
getResponse in interface TRHostTorrentRequest