Capture information about method name


I’m using Delphi for both client and server.
Two simple questions.

I have several service methods in a TRORemoteDataModule and was capturing RORemoteDataModuleActivate event in order to count how many function executions each server was delivering (in order to measure server loading). Is it OK to do that? Is there a better way?

My second question is: I need to know the method name in order to classify each one and do some additional work based on that name. Is there a way to capture the method is being about to be executed?


this event is suitable for this.
You can get method name via the IROMessage.MessageName property