LtiMainLrChannelAgent constructor

LtiMainLrChannelAgent({
  1. required Axi5SystemInterface sys,
  2. required LtiLrChannelInterface lr,
  3. required Component parent,
  4. String name = 'ltiMainLrChannelAgent',
})

Constructs a new LtiMainLrChannelAgent.

Implementation

LtiMainLrChannelAgent({
  required this.sys,
  required this.lr,
  required Component parent,
  String name = 'ltiMainLrChannelAgent',
}) : super(name, parent) {
  monitor = LtiLrChannelMonitor(sys: sys, lr: lr, parent: parent);

  sequencer =
      Sequencer<LtiCreditPacket>('ltiMainLrChannelAgentSequencer', this);

  driver = LtiCreditDriver(
    parent: this,
    sys: sys,
    trans: lr,
    sequencer: sequencer,
  );
}