コード例 #1
0
ファイル: LinkTests.cs プロジェクト: KasperSK/I4IKN
 public void LinkFrontendSetup()
 {
     var decrypter = new DecryptStm();
     var encrypter = new EncryptStm();
     _fakePhysical = Substitute.For<IPhysical>();
     _uut = new Link(decrypter, encrypter, _fakePhysical, 1000);
 }
コード例 #2
0
ファイル: DecryptStm.cs プロジェクト: KasperSK/I4IKN
 public void Reset(DecryptStm context)
 {
     context.SetState(new Idle());
 }
コード例 #3
0
ファイル: DecryptStm.cs プロジェクト: KasperSK/I4IKN
 public virtual bool ParseByte(DecryptStm context, byte b)
 {
     throw new ArgumentException();
 }
コード例 #4
0
ファイル: DecryptStm.cs プロジェクト: KasperSK/I4IKN
 public virtual void OnEnter(DecryptStm context)
 {
 }
コード例 #5
0
ファイル: DecryptStm.cs プロジェクト: KasperSK/I4IKN
 public virtual void NewMessage(DecryptStm context, byte[] buffer)
 {
     throw new ArgumentException();
 }