C# Class AK.F1.Timing.Live.Encryption.DecrypterFactoryBase

Inheritance: IDecrypterFactory
Show file Open project: simoneb/ak-f1-timing

Private Properties

Property Type Description

Public Methods

Method Description
Create ( ) : IDecrypter
Create ( string sessionId ) : IDecrypter

Protected Methods

Method Description
CreateWithSeed ( int seed ) : IDecrypter

When overriden in a derived class; creates a new AK.F1.Timing.Live.Encryption.IDecrypter using the specified seed.

DecrypterFactoryBase ( ) : System

Initialises a new instance of the DecrypterFactoryBase class.

GetSeedForSession ( string sessionId ) : int

When overriden in a derived class, gets the decryption seed for the this with the specified identifier.

Method Details

Create() public method

public Create ( ) : IDecrypter
return IDecrypter

Create() public method

public Create ( string sessionId ) : IDecrypter
sessionId string
return IDecrypter

CreateWithSeed() protected abstract method

When overriden in a derived class; creates a new AK.F1.Timing.Live.Encryption.IDecrypter using the specified seed.
protected abstract CreateWithSeed ( int seed ) : IDecrypter
seed int The decryption seed.
return IDecrypter

DecrypterFactoryBase() protected method

Initialises a new instance of the DecrypterFactoryBase class.
protected DecrypterFactoryBase ( ) : System
return System

GetSeedForSession() protected abstract method

When overriden in a derived class, gets the decryption seed for the this with the specified identifier.
/// Thrown when is . /// /// Thrown when is empty. ///
protected abstract GetSeedForSession ( string sessionId ) : int
sessionId string The identifier of the this to return the decryption seed /// for.
return int