Daryl,
>Date: Mon, 5 May 2003 17:33:17 -0500 (CDT)
>From: Daryl Herzmann <akrherz@xxxxxxxxxxx>
>To: ldm-users@xxxxxxxxxxxxxxxx
>Subject: java LDM client
The above message contained the following:
> I have a little R&D (*cough play*) application I have been working on in
> java. I would like to stream Iowa Mesonet (self promo) observations to it
> in 'real-time'. So instead of writing a streaming server in java, I
> thought (since I am lazy), why not use LDM?!?
>
> Sooooo, is there a LDM client written in java where I can do something
> like this?
>
> LDMConnection ldm = new LDMConnection(...);
> InputStream is = ldm.getStream();
> while ((o = is.getNextProduct()) != null ){
> Act on this product ...
> }
As far as I know, no.
I think something like this can be done with the NNTP-based NLDM with
which Anne Wilson is experimenting -- but that system's not yet
operational.
> And a second question, if I may, can LDM handle a couple thousand
> connections? :) (I think my server/OS can!)
The LDM forks a new process for every connection (it was designed and
built in the days before multithreading). If your system can handle it,
then so can the LDM.
Regards,
Steve Emmerson