The DFS type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
AddItem |
Adds a distributed item to the local cache and informs any known peers of the item availability
| |
AllLocalDFSItemKeys |
Returns all item MD5 checksums for DFS items
| |
AllLocalDFSItemsWithBuildTime |
Returns a dictionary of DFS items along with corresponding ItemBuildCompleted times
| |
CheckForSharedItems |
Communicates with the provided peer to see if any item swarms can be linked. This is a single link event,
possibly use InitialiseDFSLink() for a maintained link.
| |
CloseConnectionToCompletedPeers |
Closes all connections to peers who have completed items
| |
DisableLogging |
Disable logging in networkComms
| |
EnableLogging |
Enable logging in networkComms using the provided logging adaptor
| |
GetDistributedItemByChecksum |
Returns the distributed item with a matching itemCheckSum. Returns null if item is not found.
| |
GetDistributedItemByIdentifier |
Returns the distributed item with a matching itemIdentifier. Returns null if item is not found.
| |
Initialise |
Initialises the DFS
| |
InitialiseDFSLink |
Initialises this DFS peer to repeat all items available on the linkTargetIP
| |
ItemAlreadyInLocalCache(String) |
Returns true if an item with a matching itemCheckSum is present within the local cache
| |
ItemAlreadyInLocalCache(DistributedItem) |
Returns true if the provided item is already present within the swarm
| |
MostRecentlyCompletedItem |
Returns the most recently completed item in the DFS. Returns null if there are no DFS items.
| |
PushItemToPeer |
Introduces a new item into the swarm and sends a build command to the originating requester
| |
RemoveAllItemsFromLocalOnly(Boolean) |
Removes all items from local only
| |
RemoveAllItemsFromLocalOnly(String, Boolean) |
Remove any items from the DFS with a matching itemTypeStr
| |
RemoveItem |
Remove an item from the DFS. Possibly swarmWide and with or without a removal broadcast
| |
Shutdown |
Shutdown the DFS. All local DFS items are deleted.
|
See Also