But then I thought about the interface of the connection object and something struck me like lightning:
You are missing something! And that's because I made it not clear enough in the original question:
The types have serveral things in common, like 'show overall status' and the like, but do also several things different.
That wants to say:
I will ask every server the same questions, like 'what is your status?' or 'are you alive?'.
But I will also ask servers of different type different questions. E.g.:
A Replication Server will be asked 'is any of your connections down?' or 'is your stable device full?'.
And a database server will be asked 'is any of the databases full?' od 'is the cpu load very high?'.
I cannot ask all the questions through the connection object, because the connection object will know nothing about 'cpu load' or 'stable devices'.
I have to ask the server directly.
Or I have to reduce the question to 'tell me what you have to tell, I'll just show it'.
This would lead to a complete redesign, but since I just started, that wouldn't hurt much. :-)
I'll keep thinking about it and listening to you monks!
In reply to Re: Re: Reblessing
by busunsl
in thread Reblessing
by busunsl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |