TSystems.RELOAD.Storage.StoredData.StoredData C# (CSharp) Method

StoredData() public method

This contructor should be used by the store_data originator. Storeage -and lifetime will be set automaticly.
public StoredData ( StoredDataValue value ) : System
value StoredDataValue The value to be stored
return System
        public StoredData(StoredDataValue value) {
            storage_time = (UInt64)(DateTime.UtcNow - ReloadGlobals.StartOfEpoch).TotalMilliseconds;
            lifetime = ReloadGlobals.DISCO_REGISTRATION_LIFETIME;
            this.value = value;
            signature = null;
            length = 0;
        }

Same methods

StoredData::StoredData ( System.UInt64 storage_time, UInt32 lifetime, StoredDataValue value ) : System