To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 5400
5399  |  5401
Subject: 
Re: Pseudo-streaming live news (was: Re: Monitor Page)
Newsgroups: 
lugnet.admin.general
Date: 
Tue, 21 Mar 2000 21:03:31 GMT
Highlighted: 
(details)
Viewed: 
1661 times
  
In lugnet.admin.general, Jeremy H. Sproat writes:
My client is fairly modular and extensable.  I'm using a callback interface
for the consumer of news items, so that changes to the client engine are
minimal.  This would allow many types of GUI interfaces; e.g. an applet
using AWT for the majority of Java-enabled browsers, an application using
Swing for the really cool whiz-bang interface, etc.  I intend to have either
GUI being capable of loading a message into an HTML window when the user
clicks on it.  It should be Way Cool.  :-,

Great!  Neat-o!

One suggestion:  Separate the producer into a separate, totally encapsulated
daemon which just sits there running 24x7 and slurps new articles whenever
they appear and spools them into some directory on the local drive.  That way,
it can run while you sleep, even if you've exited the main user interface
program.  Write that first, and get it working 100%, and it won't ever need
to change.  Then allow (via API) any number of consumers to read, filter, and
display the articles.  That way, you can fire up multiple filter/viewer combos,
either as separate processes or separate threads within a single process.  And
if you shut down the last viewer, the spooler dameon continues to run in the
background so that when you return, all of the stuff is already fetched.

--Todd



Message has 3 Replies:
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
In lugnet.admin.general, Todd Lehman writes: One suggestion: Separate the producer into a separate, totally encapsulated (...) I thought of doing that, though - what's the differnece between a newsreader and my script then? that it works over http (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Too late! All done! :-, But that would be easy to do; I could simply write a daemon class that consumes tidbits by spooling them for serving later. The drawback to doing this, is that one *might* need to run two JVM's -- one for the spooler, (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Question to y'all: What type of API is expected between the spooler and the spooler's client? i.e. How does your spooler serve articles to the client? Is it pretty much expected to imitate the avid.cgi over HTTP etc., or is anyone writing a (...) (25 years ago, 27-Mar-00, to lugnet.admin.general)

Message is in Reply To:
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) I'm working on a Java client. I've nailed down the basic functionality of a text-mode dumb client in about half an hour. Dang, it was easy. Thanks, Todd and Suz! :-, My client is fairly modular and extensable. I'm using a callback interface (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)

66 Messages in This Thread:























Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR