Class FailsafeContextAbstract
Constructors Accessorsassociated Fabric get associatedFabric( ) : undefined | Fabric Returns undefined | Fabric csr Session Id get csrSessionId( ) : undefined | number Returns undefined | number for Update Noc get forUpdateNoc( ) : undefined | boolean Returns undefined | boolean has Root Cert get hasRootCert( ) : boolean Returns boolean root Cert get rootCert( ) : undefined | Uint8Array Returns undefined | Uint8Array Methodsbuild Fabric build Fabric ( nocData ) : Promise < Fabric > Parameters nocData : { adminVendorId : VendorId ; caseAdminSubject : NodeId ; icacValue : undefined | Uint8Array ; ipkValue : Uint8Array ; nocValue : Uint8Array ; } case Admin Subject : NodeId icac Value : undefined | Uint8Array ipk Value : Uint8Array noc Value : Uint8Array Returns Promise < Fabric > build Updated Fabric build Updated Fabric ( nocValue , icacValue ) : Promise < Fabric > Parameters nocValue : Uint8Array icacValue : undefined | Uint8Array Returns Promise < Fabric > close close ( ) : Promise < void > Returns Promise < void > complete Commission complete Commission ( ) : Promise < void > Returns Promise < void > create Certificate Signing Request create Certificate Signing Request ( isForUpdateNoc , sessionId ) : Uint8Array Parameters isForUpdateNoc : boolean sessionId : number Returns Uint8Array extend extend ( fabric , expiryLengthSeconds ) : Promise < void > Parameters fabric : undefined | Fabric expiryLengthSeconds : number Returns Promise < void > remove Pase Session remove Pase Session ( ) : Promise < void > Returns Promise < void > Abstract
restore Breadcrumb restore Breadcrumb ( ) : Promise < void > Returns Promise < void > restore Fabric restore Fabric ( fabric ) : Promise < void > Returns Promise < void > Abstract
restore Network State restore Network State ( ) : Promise < void > Returns Promise < void > Abstract
revoke Fabric revoke Fabric ( fabric ) : Promise < void > Returns Promise < void > Protected
rollback rollback ( ) : Promise < void > Returns Promise < void > set Root Cert set Root Cert ( rootCert ) : void Returns void Abstract
store Endpoint State store Endpoint State ( ) : Promise < void > Returns Promise < void > update Fabric update Fabric ( fabric ) : Promise < void > Returns Promise < void >
A "timed operation" is a command or sequence of commands that operate with a failsafe timer that will abort the operation if it does not complete within a specific window.
FailsafeContext maintains the failsafe timer and tracks information required to rollback state if the operation aborts.
Timed operations are exclusive for a node.