The DFS type exposes the following members.
Back to Top
Back to Top
Back to Top
Adds a distributed item to the local cache and informs any known peers of the item availability
Returns all item MD5 checksums for DFS items
Returns a dictionary of DFS items along with corresponding ItemBuildCompleted times
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.
Closes all connections to peers who have completed items
Disable logging in networkComms
Enable logging in networkComms using the provided logging adaptor
Returns the distributed item with a matching itemCheckSum. Returns null if item is not found.
Returns the distributed item with a matching itemIdentifier. Returns null if item is not found.
Initialises the DFS
Initialises this DFS peer to repeat all items available on the linkTargetIP
Returns true if an item with a matching itemCheckSum is present within the local cache
Returns true if the provided item is already present within the swarm
Returns the most recently completed item in the DFS. Returns null if there are no DFS items.
Introduces a new item into the swarm and sends a build command to the originating requester
Removes all items from local only
Remove any items from the DFS with a matching itemTypeStr
Remove an item from the DFS. Possibly swarmWide and with or without a removal broadcast
Shutdown the DFS. All local DFS items are deleted.
The number of milliseconds after which a chunk request times out.
The number of seconds to allow per MB when building DFS items
The maximum number of DFS items that can be built concurrently
The maximum number of concurrent chunk requests to make to the same peer
The total number of simultaneous chunk requests for a given item
The minimum size of DFS item chunks
While the peer network load goes above this value it will always reply with a busy response
The time in milliseconds after which a peer busy flag is removed
The maximum number of times a chunk request can timeout from a peer before it is removed from the swarm
True if the DFS has been initialised
The number of seconds since the initialisation of the DFS. Used as an internal timer, rather than DateTime.Now, to ensure builds do not time out when a suspended process is restarted.
True if this DFS is linked with another peer
The link mode being used
Access the networkComms logger externally. Allows logging from external sources
The maximum port number that will be used when initialising the DFS
The minimum port number that will be used when initialising the DFS
The total number of chunks requests by the local DFS
The total number of completed chunk requests across all DFS items
If true ensures all DFS items include chunk MD5 list. Also on build clients will validate the chunk MD5