EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Time interval for Asyn auto reconnect
From: "J. Lewis Muir" <[email protected]>
To: Mark Rivers <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 19 Jul 2017 10:51:59 -0500
On 07/19, Mark Rivers wrote:
> streamDevice uses asyn for I/O but it does not use asyn for printing
> error messages. That is unfortunate because if it did you would have
> the ability to turn off the messages using asynTrace control.  I have
> suggested this to Dirk but it would introduce asyn dependencies into
> parts of streamDevice code that are currently independent of asyn,
> which he is reluctant to do.

Sounds like a good candidate for the Bridge design pattern.  Create
an interface for the logging, and provide two implementations: the
StreamDevice built-in implementation and the Asyn implementation.  Those
parts of StreamDevice that know nothing about Asyn will continue to know
nothing about Asyn, yet the Asyn implementation could be used.

Lewis

Replies:
RE: Time interval for Asyn auto reconnect Mark Rivers
References:
Time interval for Asyn auto reconnect Paduan Donadio, Marcio
RE: Time interval for Asyn auto reconnect Mark Rivers
Re: Time interval for Asyn auto reconnect Paduan Donadio, Marcio
Re: Time interval for Asyn auto reconnect Mark Rivers

Navigate by Date:
Prev: Re: Debian packages for debian 9 (stretch) ? Carlos Pascual
Next: RE: Time interval for Asyn auto reconnect Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Time interval for Asyn auto reconnect Mark Rivers
Next: RE: Time interval for Asyn auto reconnect Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·