public override IEnumerator ReceivePayload(VisualPayload payload) { GetRcsToCsCommand rcsCommand = new GetRcsToCsCommand( (uint)RcsId.GetFirstValue(payload.Data)); var iterator = CommandProcessor.Execute(rcsCommand); while (iterator.MoveNext()) { yield return(null); } RcsDataTarget.SetValue(ConstructRcsMutable(rcsCommand.RcsInfo), payload.Data); iterator = Router.TransmitAll(payload); while (iterator.MoveNext()) { yield return(null); } }
protected override void OnProcessOutputSchema(MutableObject newSchema) { RcsDataTarget.SetValue(ConstructRcsMutable(new RcsToCsInfo()), newSchema); base.OnProcessOutputSchema(newSchema); }