Post by david aaron vroomani'd like to subclass rb's ProgressWheel so that it automatically
shows when my pgSQLcoreSocket is doing a query and hides when the
query is complete. is there an interface is should implement with my
subclass to do so?
Yes, the pgSQLstateReceiver interface would probably be best suited
where you'd have the wheel spin as long as QueryQueueCount isn't zero.
Or the pgSQLlogReceiver interface where you'd trap the Message could
be used as well but this would require more work.
You may of course implement several interfaces at once to use
information bits of the one and the other to implement something that
would require even more precision.
Cheers,
Marc
PS: I'm having a hell of a trouble with my internet connection. Even
though I did invest in a solution to be able to work from remote
locations, I haven't been able to establish a connection with it for
more than a week now. I have no clue about when I'll be able to send
this and other messages.
As I already warned for in my message to this list of 7/19/2006, this
month of September will be the hardest for me to get connected so
expect more of the same for the coming weeks.