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 / 5429
5428  |  5430
Subject: 
Re: Pseudo-streaming live news (was: Re: Monitor Page)
Newsgroups: 
lugnet.admin.general
Date: 
Wed, 22 Mar 2000 20:20:27 GMT
Viewed: 
2316 times
  
In lugnet.admin.general, Jeremy H. Sproat writes:
[...] The body of the
message is fetched using the "Body:" header; I'm not sure I'll keep it that
way since the body, by definition, is a non-header.  The key-value set still
looks like ( "Header:" => "Text text text" }.

If you wanted to rename the "Body:" header to something other than "Body:" and
still let clients of the code access aspects of an article object via the same
single entry point, you could redefine the body's "header key" to be the null
string or the empty string.  (After all, in a sense, a message's body appears
after a null header.  :)  JAT...

--Todd



Message has 1 Reply:
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Hey, that works *great* with a Properties object, except I'll haveta use a blank string instead of a null string (the hashcode of a null object is pretty hard to come by...) Thanks! :-, Cheers, - jsproat (25 years ago, 22-Mar-00, to lugnet.admin.general)

Message is in Reply To:
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) ...And again. Changes: o I've changed the way the Consumer talks to the Listener -- it's now somewhat closer to the JDK 1.1.x event model, in that the Consumer has to Listener.addConsumer() itself, and the Listener can fire news tidbits (...) (25 years ago, 22-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