|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteFileDesc
A reference to a single file on a remote machine. In this respect RemoteFileDesc is similar to a URL, but it contains Gnutella- specific data as well, such as the server's 16-byte GUID.
| Field Summary | |
|---|---|
static String |
BOGUS_IP
bogus IP we assign to RFDs whose real ip is unknown |
static List<RemoteFileDesc> |
EMPTY_LIST
Typed reference to an empty list of RemoteFileDescs. |
| Method Summary | |
|---|---|
Address |
getAddress()
|
org.apache.http.auth.Credentials |
getCredentials()
Returns credentials needed for downloading this file from the remote side |
SecureMessage.Status |
getSecureStatus()
|
float |
getSpamRating()
|
String |
getUrlPath()
Returns the url encoded HTTP request path. |
boolean |
isAltLocCapable()
|
boolean |
isFromAlternateLocation()
Determines whether or not this RemoteFileDesc was created from an alternate location. |
boolean |
isMe(byte[] myClientGUID)
|
boolean |
isSpam()
|
void |
setSecureStatus(SecureMessage.Status secureStatus)
|
void |
setSpamRating(float rating)
|
RemoteHostMemento |
toMemento()
Returns a memento that can be used for serializing this object. |
| Methods inherited from interface com.limegroup.gnutella.FileDetails |
|---|
getCreationTime, getFileName, getIndex, getSHA1Urn, getSize, getUrns, getXMLDocument |
| Methods inherited from interface com.limegroup.gnutella.HostDetails |
|---|
getClientGUID, getQuality, getSpeed, getVendor, isBrowseHostEnabled, isHTTP11, isReplyToMulticast, setHTTP11 |
| Field Detail |
|---|
static final String BOGUS_IP
static final List<RemoteFileDesc> EMPTY_LIST
| Method Detail |
|---|
boolean isMe(byte[] myClientGUID)
boolean isFromAlternateLocation()
String getUrlPath()
org.apache.http.auth.Credentials getCredentials()
boolean isAltLocCapable()
void setSpamRating(float rating)
float getSpamRating()
SecureMessage.Status getSecureStatus()
void setSecureStatus(SecureMessage.Status secureStatus)
RemoteHostMemento toMemento()
boolean isSpam()
Address getAddress()
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||