[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.riena] Re: Getting sendig host when using client monitoring

Hi Carsten,

Carsten Spieker wrote:
Hi,

is it possible to get the hostname of the sending client in my IReceiver-implementation?

Well, not out of the box! At least not yet ;-)


I am using org.eclipse.riena.monitor.client.SimpleSender as sender, org.eclipse.riena.monitor.client.SimpleStore as store and org.eclipse.riena.monitor.client.LogServiceCollector as collector?

Or do I have to create my own implementation of one of these to get this information?

You could probably sub-class LogServiceCollector and implement there the collect( T payload) method, such that you create another Serializable containing the hostname and the original payload and pass this to super.collect()
However, this seems to me reasonable use case. I would suggest that you create a bugzilla for that and we can continue discussing there.


Tschüß,
Stefan


Greetz and Thanks!
Carsten