Hi,
We want to build a service with two communication “sides”. One internally and one externally (on different ports).
Is it possible to have two Server components in one Delphi project to expose different RemObjects services or RemObjects library’s?
If not is it possible to detect the Server, Channel or Message component name within the Service implementation so that we can raise an exception when a call is executed from an invalid client port?
Yes, I know that. That was not the question.
Is it possible to link a different service or library to the server components?
Or detect from which server component the function/method was called?
I solved it by using a custom class derived from TROBinMessage (implementing an interface of my own) with one custom property. In the GetDispatchInfo I check the interface en validate the custom property.