It looks very simple, however I need to be able to start and monitor
the application behaviour from a PowerBuilder application. In order to
do that, I think that the best alternative is to write an Open Server
application that receives the order to load the table from PB, in
the same way the application can update some table with it's current state
in order to be able to display it's status in a window.
What I'm looking for is some feedback about my strategy and if possible
some OpenServer program to use as a base for my application.
thanks,
===========================================================================
Fernando Libedinsky email: f...@opensoft.cl
OpenSoft Ltda. Phone/Fax: +562-6710609
Catedral 1009 of.704
Santiago
CHILE
===========================================================================
> I need to develop an application , comp.soft-sys.powerbuilder
>
> It looks very simple, however I need to be able to start and monitor
> the application behaviour from a PowerBuilder application. In order to
> do that, I think that the best alternative is to write an Open Server
> application that receives the order to load the table from PB, in
> the same way the application can update some table with it's current state
> in order to be able to display it's status in a window.
>
> What I'm looking for is some feedback about my strategy and if possible
> some OpenServer program to use as a base for my application.
>
> [...]
I'm not sure that I completely understand your question, but here's an attempt
at an answer:
One of Open Server's strengths is the ease with which one can implement
administrative and diagnostic RPCs. It sounds like you're talking about
at least 2 different RPCs in this case:
start_custom_server()
This RPC could just set some global flag which tells the custom
server to start responding to certain client requests.
custom_server_info()
This RPC could return one or more tables, which could contain information
about clients, cache contents, server utilization, or anything else.
Open Server ships with a collection of example programs, which should help you
to get started.
Have I answered your questions at all?
Let me know if you need more information,
Andy Cohen
Senior Consultant
Context Integration
an...@context.com
510-869-5632