# Class TransferState

Represents the current state of the Transfer.

Namespace: OpenCloud\ObjectStore\Upload
CodeCoverageIgnore
Located at OpenCloud/ObjectStore/Upload/TransferState.php

Methods summary
`public static mixed` | # `factory( )` #### Returns `mixed` $this
`public` | # `addPart( `OpenCloud\ObjectStore\Upload\TransferPart` $part )` #### Parameters $part ``OpenCloud\ObjectStore\Upload\TransferPart`` $part
`public integer` | # `count( )` #### Returns `integer`
`public boolean` | # `isRunning( )` #### Returns `boolean`
`public mixed` | # `init( )` #### Returns `mixed` $this
`public mixed` | # `cancel( )` #### Returns `mixed` $this

Properties summary
`protected array` | $completedParts | `array()` | # Holds all of the parts which have been transferred. Holds all of the parts which have been transferred.
`protected boolean` | $running | `` | #