public virtual IEnumerator <ITask> GenericSubscribeHandler(pxanalogsensor.Subscribe subscribe) { yield return((Choice)base.SubscribeHelper(_genericSubMgrPort, subscribe.Body, subscribe.ResponsePort)); if (_state.Heading.TimeStamp != DateTime.MinValue) { SendNotificationToTarget <pxanalogsensor.Replace>(subscribe.Body.Subscriber, _genericSubMgrPort, SyncGenericState()); } }
public virtual IEnumerator <ITask> SubscribeHandler(pxanalogsensor.Subscribe subscribe) { yield return((Choice)base.SubscribeHelper(_subMgrPort, subscribe.Body, subscribe.ResponsePort)); if (_state.Heading.TimeStamp != DateTime.MinValue) { SendNotificationToTarget <CompassSensorUpdate>(subscribe.Body.Subscriber, _subMgrPort, _state.Heading); } }
public IEnumerator <ITask> SubscribeHandler(analog.Subscribe subscribe) { yield return(Arbiter.Choice( SubscribeHelper(_subMgrPort, subscribe.Body, subscribe.ResponsePort), delegate(SuccessResult success) { SendNotification <analog.Replace>(_subMgrPort, subscribe.Body.Subscriber, new analog.Replace(_state)); }, delegate(Exception fault) { LogError(fault); } )); }
public virtual IEnumerator <ITask> SubscribeHandler(pxanalogsensor.Subscribe subscribe) { SubscribeHelper(_submgrPort, subscribe.Body, subscribe.ResponsePort); yield break; }
public virtual IEnumerator <ITask> AnalogSubscribeHandler(pxanalogsensor.Subscribe subscribe) { base.SubscribeHelper(_genericSubMgrPort, subscribe.Body, subscribe.ResponsePort); yield break; }