Example #1
0
 public GetLastFailureCodeCommand(IPacketsProcessor packetsProcessor)
 {
     this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor));
     packetsProcessor.SetOnGetLastFailureCodeResponse(OnGetLastFailureCodeResponse);
 }
Example #2
0
 public GetLastErrorCodeCommand(IPacketsProcessor packetsProcessor)
 {
     _packetsProcessor = packetsProcessor;
     _packetsProcessor.SetOnGetLastFailureCodeResponse(OnGetLastErrorCodeResponse);
 }