anon.tor.ordescription
Interface ORListFetcher

All Known Implementing Classes:
InfoServiceORListFetcher, PlainORListFetcher

public interface ORListFetcher

fetches descriptor and status documents for the ORs

Author:
dhoske

Method Summary
 byte[] getAllDescriptors()
          gets descriptors for all known ORs
 byte[] getDescriptor(java.lang.String digest)
          gets descriptor for OR with given digest
 byte[] getDescriptorByFingerprint(java.lang.String fingerprint)
           
 byte[] getRouterStatus()
          gets authoritive network-status
 byte[] getStatus(java.lang.String fingerprint)
          gets network-status for host with given fingerprint
 

Method Detail

getRouterStatus

byte[] getRouterStatus()
gets authoritive network-status

Returns:
status document

getDescriptor

byte[] getDescriptor(java.lang.String digest)
gets descriptor for OR with given digest

Parameters:
digest -
Returns:
descriptor

getDescriptorByFingerprint

byte[] getDescriptorByFingerprint(java.lang.String fingerprint)

getAllDescriptors

byte[] getAllDescriptors()
gets descriptors for all known ORs

Returns:
concatenated descriptors

getStatus

byte[] getStatus(java.lang.String fingerprint)
gets network-status for host with given fingerprint

Parameters:
fingerprint -
Returns:
status document