LimeWire Consolidated API

com.limegroup.gnutella
Interface HostDetails

All Known Subinterfaces:
RemoteFileDesc, RemoteFileDetails
All Known Implementing Classes:
RemoteFileDescImpl, XMPPRemoteFileDesc

public interface HostDetails


Method Summary
 byte[] getClientGUID()
          Accessor for the client guid for this file, which can be null.
 int getQuality()
          Returns the "quality" of the remote file in terms of firewalled status, whether or not the remote host has open slots, etc.
 int getSpeed()
          Accessor for the speed of the host with this file, which can be null.
 String getVendor()
           
 boolean isBrowseHostEnabled()
           
 boolean isHTTP11()
          Accessor for HTTP11.
 boolean isReplyToMulticast()
          Determines whether or not this RFD was a reply to a multicast query.
 void setHTTP11(boolean http11)
          Mutator for HTTP11.
 

Method Detail

isHTTP11

boolean isHTTP11()
Accessor for HTTP11.

Returns:
Whether or not we think this host supports HTTP11.

setHTTP11

void setHTTP11(boolean http11)
Mutator for HTTP11. Should be set after connecting.


getClientGUID

byte[] getClientGUID()
Accessor for the client guid for this file, which can be null.

Returns:
the client guid for this file, which can be null

getSpeed

int getSpeed()
Accessor for the speed of the host with this file, which can be null.

Returns:
the speed of the host with this file, which can be null

getVendor

String getVendor()

isBrowseHostEnabled

boolean isBrowseHostEnabled()

getQuality

int getQuality()
Returns the "quality" of the remote file in terms of firewalled status, whether or not the remote host has open slots, etc.

Returns:
the current "quality" of the remote file in terms of the determined likelihood of the request succeeding

isReplyToMulticast

boolean isReplyToMulticast()
Determines whether or not this RFD was a reply to a multicast query.

Returns:
true if this RFD was in reply to a multicast query, otherwise false

LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.