Category RPC Monitor plug-in
I have been working on some old and slow Notes Client applications recently and found the RPC (Remote Procedure Call) debug information from the Notes Client to be a really useful tool for seeing exactly what is going on behind the scenes when a document or view is opened.
For those that don't know, there are a few settings in the notes.ini file which make the client write RPC debug information to a file or console. The information shows each transactions between the client and server, how long it took and how much data was exchanged.
To make it easier to configure and understand the output I thought I'd write a plug-in, so here it is, the RPC Monitor plug-in for Notes. It can be downloaded from the usual place and the source is in the CVS.
I've tested it on Windows OK but I'd be really interested to know if it works OK on Macs and Linux.
The plug-in code is pretty straight forward, it just monitors the debug file for new data, parses it into transactions and plonks it all in a table. The neat things from a programming point of view is the use of EMF (Eclipse Modelling Framework).
I've used EMF before in the DXLPeek plug-in but that was more black-magic than deliberate programming. The RPC Monitor uses a simple EMF model I built from scratch. It's really made Eclipse programming much easier. All of the model Java code is automatically created and it even generates most of the presentation code.
If anyone's thinking of writing any plug-ins, EMF is definitely the way to go.
Bookmark :
I have been working on some old and slow Notes Client applications recently and found the RPC (Remote Procedure Call) debug information from the Notes Client to be a really useful tool for seeing exactly what is going on behind the scenes when a document or view is opened.
For those that don't know, there are a few settings in the notes.ini file which make the client write RPC debug information to a file or console. The information shows each transactions between the client and server, how long it took and how much data was exchanged.
To make it easier to configure and understand the output I thought I'd write a plug-in, so here it is, the RPC Monitor plug-in for Notes. It can be downloaded from the usual place and the source is in the CVS.
I've tested it on Windows OK but I'd be really interested to know if it works OK on Macs and Linux.
The plug-in code is pretty straight forward, it just monitors the debug file for new data, parses it into transactions and plonks it all in a table. The neat things from a programming point of view is the use of EMF (Eclipse Modelling Framework).
I've used EMF before in the DXLPeek plug-in but that was more black-magic than deliberate programming. The RPC Monitor uses a simple EMF model I built from scratch. It's really made Eclipse programming much easier. All of the model Java code is automatically created and it even generates most of the presentation code.
If anyone's thinking of writing any plug-ins, EMF is definitely the way to go.