org.gudy.azureus2.core3.tracker.server.impl
Class TRTrackerServerRequestImpl

java.lang.Object
  extended by org.gudy.azureus2.core3.tracker.server.impl.TRTrackerServerRequestImpl
All Implemented Interfaces:
TRTrackerServerRequest

public class TRTrackerServerRequestImpl
extends Object
implements TRTrackerServerRequest


Field Summary
protected  TRTrackerServerPeer peer
           
protected  String request
           
protected  Map response
           
protected  TRTrackerServerImpl server
           
protected  TRTrackerServerTorrent torrent
           
protected  int type
           
 
Fields inherited from interface org.gudy.azureus2.core3.tracker.server.TRTrackerServerRequest
RT_ANNOUNCE, RT_FULL_SCRAPE, RT_QUERY, RT_SCRAPE, RT_UNKNOWN
 
Constructor Summary
TRTrackerServerRequestImpl(TRTrackerServerImpl _server, TRTrackerServerPeer _peer, TRTrackerServerTorrent _torrent, int _type, String _request, Map _response)
           
 
Method Summary
 TRTrackerServerPeer getPeer()
           
 String getRequest()
           
 Map getResponse()
           
 TRTrackerServerTorrent getTorrent()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

protected TRTrackerServerImpl server

peer

protected TRTrackerServerPeer peer

torrent

protected TRTrackerServerTorrent torrent

type

protected int type

request

protected String request

response

protected Map response
Constructor Detail

TRTrackerServerRequestImpl

public TRTrackerServerRequestImpl(TRTrackerServerImpl _server,
                                  TRTrackerServerPeer _peer,
                                  TRTrackerServerTorrent _torrent,
                                  int _type,
                                  String _request,
                                  Map _response)
Method Detail

getType

public int getType()
Specified by:
getType in interface TRTrackerServerRequest

getPeer

public TRTrackerServerPeer getPeer()
Specified by:
getPeer in interface TRTrackerServerRequest

getTorrent

public TRTrackerServerTorrent getTorrent()
Specified by:
getTorrent in interface TRTrackerServerRequest

getRequest

public String getRequest()
Specified by:
getRequest in interface TRTrackerServerRequest

getResponse

public Map getResponse()
Specified by:
getResponse in interface TRTrackerServerRequest