Class TRHostTorrentRequestImpl
- java.lang.Object
-
- com.biglybt.core.tracker.host.impl.TRHostTorrentRequestImpl
-
- All Implemented Interfaces:
TRHostTorrentRequest
public class TRHostTorrentRequestImpl extends java.lang.Object implements TRHostTorrentRequest
-
-
Field Summary
Fields Modifier and Type Field Description protected TRHostPeer
peer
protected TRTrackerServerRequest
request
protected TRHostTorrent
torrent
-
Fields inherited from interface com.biglybt.core.tracker.host.TRHostTorrentRequest
RT_ANNOUNCE, RT_FULL_SCRAPE, RT_SCRAPE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TRHostTorrentRequestImpl(TRHostTorrent _torrent, TRHostPeer _peer, TRTrackerServerRequest _request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TRHostPeer
getPeer()
java.lang.String
getRequest()
int
getRequestType()
java.util.Map
getResponse()
TRHostTorrent
getTorrent()
-
-
-
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 interfaceTRHostTorrentRequest
-
getTorrent
public TRHostTorrent getTorrent()
- Specified by:
getTorrent
in interfaceTRHostTorrentRequest
-
getRequestType
public int getRequestType()
- Specified by:
getRequestType
in interfaceTRHostTorrentRequest
-
getRequest
public java.lang.String getRequest()
- Specified by:
getRequest
in interfaceTRHostTorrentRequest
-
getResponse
public java.util.Map getResponse()
- Specified by:
getResponse
in interfaceTRHostTorrentRequest
-
-