Uses of Class
org.tranche.flatfile.FlatFileTrancheServer

Packages that use FlatFileTrancheServer
org.tranche Configuration for specific Tranche network and interfaces. 
org.tranche.flatfile The FlatFileTrancheServer handles the routing of data and meta data between the Server instance and the DataBlockUtil, and imposes sercurity. 
org.tranche.server Server that binds on a port and routes requests to underlying FlatFileTrancheServer. 
org.tranche.util Utilities used by Tranche and other tools for handling lower-level tasks (such as compression, encryption, managing temporary files, etc.). 
 

Uses of FlatFileTrancheServer in org.tranche
 

Methods in org.tranche that return FlatFileTrancheServer
static FlatFileTrancheServer LocalDataServer.getFlatFileTrancheServer()
           
 

Uses of FlatFileTrancheServer in org.tranche.flatfile
 

Methods in org.tranche.flatfile with parameters of type FlatFileTrancheServer
static void ProjectFindingThread.loadDataBlocks(FlatFileTrancheServer ffts)
          Depth-first traversal of data blocks to repair, merge old data blocks and gather statistics.
 

Constructors in org.tranche.flatfile with parameters of type FlatFileTrancheServer
DataBlockUtil(FlatFileTrancheServer ffts)
           
HashSpanFixingThread(FlatFileTrancheServer ffts)
           
HashSpanFixingThreadPolicyDecider(FlatFileTrancheServer ffts, HashSpanFixingThread healingThread)
           
NonceMap(FlatFileTrancheServer trancheServer)
           
ProjectFindingThread(FlatFileTrancheServer ffts)
           
TargetHashSpanThread(FlatFileTrancheServer ffts)
           
 

Uses of FlatFileTrancheServer in org.tranche.server
 

Methods in org.tranche.server with parameters of type FlatFileTrancheServer
static boolean ServerStartupThread.addMetaData(BigHash hash, byte[] downloadedChunk, FlatFileTrancheServer localServerToUpdate, User user)
           
static boolean ServerStartupThread.checkServerForChunksToAdd(long fromTimestamp, long toTimestamp, java.lang.String host, FlatFileTrancheServer localServerToUpdate)
          Update a local server (FlatFileTrancheServer) by checking specific server at a specific url is there any new chunks to consider between two timestamps.
static boolean ServerStartupThread.checkServerForChunksToDelete(long fromTimestamp, long toTimestamp, java.lang.String host, FlatFileTrancheServer localServerToUpdate)
          Update a local server (FlatFileTrancheServer) by checking specific server at a specific url is there any deletes to consider between two timestamps.
static boolean ServerStartupThread.checkServerForMetaDataToReplace(long fromTimestamp, long toTimestamp, java.lang.String host, FlatFileTrancheServer localServerToUpdate)
           
static boolean ServerStartupThread.checkServerForMetaDataToReplace(long fromTimestamp, long toTimestamp, java.lang.String host, FlatFileTrancheServer localServerToUpdate, int[] metaDataUpdateCount)
           
 

Uses of FlatFileTrancheServer in org.tranche.util
 

Methods in org.tranche.util that return FlatFileTrancheServer
static FlatFileTrancheServer TestUtil.getFFTSForURL(java.lang.String url)
          Map of URL (e.g., tranche://127.0.0.1:1501) to associated FlatFileTrancheServer instance from a running TestNetwork.
static FlatFileTrancheServer TestUtil.removeFFTSForURL(java.lang.String url)
          Map of URL (e.g., tranche://127.0.0.1:1501) to associated FlatFileTrancheServer instance from a running TestNetwork.
 

Methods in org.tranche.util with parameters of type FlatFileTrancheServer
static void TestUtil.setFFTSForURL(java.lang.String url, FlatFileTrancheServer ffts)
          Map of URL (e.g., tranche://127.0.0.1:1501) to associated FlatFileTrancheServer instance from a running TestNetwork.
 



This code is free for use both commercially and non-commercially as stated in the project's license