DistributedItem MethodsNetworkComms.Net Help
The DistributedItem type exposes the following members.
Methods

  NameDescription
Public methodAccessItemBytes
Once the item has been fully assembled the completed bytes can be access via this method.
Public methodAddBuildLogLine
Add the provided string to the build log of this item
Public methodAssembleItem
Assemble this DFS item using the swarm
Public methodBuildChunkCheckSums
Uses the loaded stream and builds individual chunk checksums
Public methodBuildLog
Get the current build log for this DFS item
Public methodChunkAvailableLocally
Returns true if the requested chunk is available locally
Public methodCopyItemDataStream
Copies the contents of the item data stream to the provided destination stream
Public methodDispose
Dispose of this DFS item
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetChunkStream
Returns a StreamSendWrapper corresponding to the requested chunkIndex.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetItemStream
Returns a streamSendWrapper that contains the entire item
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodHandleIncomingChunkReply
Handle an incoming chunk reply
Public methodIncrementPushCount
Increments the item push count.
Public methodStatic memberLoad
Load the specified distributed item. Does not add the .DFSItem extension to the fileName
Public methodLocalItemComplete
Returns true once all chunks have been received and the item has been validated
Public methodLocalItemValid
Returns true if the item data validates correctly
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodSave
Save this distributed item (not including item data), adds .DFSItem extension, using the provided filename.
Public methodToString
Returns ItemTypeStr + ItemIdentifier
(Overrides OnlineObject ToString .)
Public methodUpdateBuildTarget
Updates the ItemBuildTarget
Back to Top
See Also