Summary: This interface lets you load node caches from files and also methods to add nodes manually from your own files. There is also web cache support which is a script based node cache that can be placed on the web. Node Cache Methods: AddNode LoadCache SaveCache GetNodeCacheSize GetNodeCacheMaxSize WebCache Methods: AddWebCache LoadWebCache SaveWebCache GetWebCacheSize GetWebCacheMaxSize AddNode Params: String HostPort, Bool SuperNode Return: None Remarks: Adds Host to internal node cache, format of HostPort is Host:Port, bool if Ultrapeer LoadCache Params: String FilePath Return: None Remarks: Loads node cache from file, format is HostPorts seperated by breaklines SaveCache Params: String FilePath Return: None Remarks: Saves node cache to file GetNodeCacheSize Params: None Return: Long Remarks: Returns current size of internal node cache GetNodeCacheMaxSize Params: None Return: Long Remarks: Returns maximum size of internal node cache AddWebCache Params: String WebAddress Return: None Remarks: Adds address to web cache system LoadWebCache Params: String FilePath Return: None Remarks: Loads web caches from file, seperated by breaklines SaveWebCache Params: String FilePath Return: None Remarks: Saves web caches to file GetWebCacheSize Params: None Return: Long Remarks: Returns current size of internal web cache GetWebCacheMaxSize Params: None Return: Long Remarks: Returns maximum size of internal web cache |